Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> How can I convert Characterset Properly on JDBC?
Hi,All.
Current Situation:
DBMS : Oracle8i Using NLS_CHARACTERSET=AMERICAN_AMERICA.WE8DEC
I'm Korean and uses KO16KSC5601 characterset, but in Pro*C or in SQL*Plus it's ok to use Korean characters because I matched NLS_CHARACTERSET with server in environment file.
Problem :
When using JDBC, Korean Chars broken while English chars OK
in ResultSetObject. ( str = rset.getString(1); returns broken characters)
What I tried :
String newResult = new String(rset.getBytes("8859_1"),"KSC5601");
--> some of Korean chars converted well, but still some other's not.
Question :
It's very Urgent Situation and I'll be very appreciate if U can help me. Sorry for my poor English grammer, and Thanks in Advance. Received on Thu Apr 18 2002 - 02:18:39 CDT