Posted By:
jane_moy
Posted On:
Wednesday, June 27, 2001 11:00 PM
As I know I should convert the data into unicode if I'm using java. Currently my data is in shift-jis encoding, then how will it look like if I'm convert it into Unicode. will it be look like /Uxxxx - x is number or &#xxx;- x is number or something like this ýýýýýýýýýýýýýýýýý ??? I'm using websphere, db2v7.1 and in AIX platform. my AIX platform encoding is IBMeuc-JP, my japanese web page is shift-jis, my database is UTF-8. I always get ? in jsp page and insert or extract data from database. what should I do ? when I should use InputStreamReader and when I shoul d use String.getBytes method ? Currently I'm using JSP and Servlet,
More>>
As I know I should convert the data into unicode if I'm using java.
Currently my data is in shift-jis encoding, then how
will it look like if I'm convert it into Unicode.
will it be look like
/Uxxxx - x is number or
&#xxx;- x is number or
something like this ýýýýýýýýýýýýýýýýý ???
I'm using websphere, db2v7.1 and in AIX platform.
my AIX platform encoding is IBMeuc-JP,
my japanese web page is shift-jis,
my database is UTF-8.
I always get ? in jsp page and insert or extract data from database. what should I do ?
when I should use InputStreamReader and when I shoul d use String.getBytes method ?
Currently I'm using JSP and Servlet, so which method will be more suitable ?
Should I convert it back from unicode into shift-jis
when I display in JSP ?
<<Less