ÇØ°á, ´Ù¸¥ Áú¹®.....


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :ÀüÀÀ½Ä 1998³â 2¿ù 25ÀÏ 15:07:53

In Reply to: Á˼ÛÇÕ´Ï´Ù. À߸ø¿Ã·È½À´Ï´Ù. posted by ÀüÀÀ½Ä on 1998³â 2¿ù 25ÀÏ 13:43:01:

À§¿¡ Áú¹®ÇÑ ³»¿ëÀº ÇØ°áÀÌ µÇ¾ú½À´Ï´Ù.


¼Ò½ºÁß ifÀýÀÌ ½ÇÇàÀÌ ¾ÈµÇ¾î¼­ ¹®ÀÚµéÀÌ
±ú¾îÁ® ³ª¿Ô´ø°ÍÀÔ´Ï´Ù.
¾Æ·¡ ¼Ò½º
if ( 0x3400 > c && 0x4dff < c )
{
out[i] = c;
}



±×¸®°í ´Ù¸¥ Áú¹®ÀÌ ÇÑ°¡Áö Àִµ¥,
Oracle DB ¿¡ ÀúÀåµÇ¾îÀÖ´Â Çѱ۵¥ÀÌŸ¸¦ °¡Áö°í ¿Ã¶§,
colÁ¤ÇØÁ®ÀÖ´Â Å©±â¾È¿¡¼­ ÀÏÁ¤ ºñÀ²Å©±â ÀÌ»óÀÌ Çѱ۵¥ÀÌŸ¸¦
getStringÀ¸·Î °¡Á®¿Ã·Á°í ±×·¯¸é ¾Æ·¡¿Í °°Àº Exception Error°¡
¹ß»ýÇϴµ¥ ¿Ö ÀÌ·¯´Â Áö¿ä..


java.sql.SQLException: Fail to convert between UTF8 and UCS2
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:338)
at oracle.jdbc.oracore.JavaConversion.failUTFConversion(JavaConversion.java:678)
at oracle.jdbc.oracore.JavaConversion.CHARBytesToJavaChars(JavaConversion.java:735)
at oracle.jdbc.oracore.JavaConversion.CharBytesToString(JavaConversion.java:308)
at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:1695)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:175)
at jdbctest.displayResults(jdbctest.java:76)
at jdbctest.main(jdbctest.java:172)





´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]