Re: unicode character is in wrong format

2009-12-14 Thread Alex Siman
Here is the best checklist for Java webdev + UTF-8 http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps Nguyen Xuan Son-2 wrote: > > dear all > im using PreparedStatement.setNString(int, String) > to insert the japanese characters into my MySQL database > but the r

Re: unicode character is in wrong format

2009-12-14 Thread Paul Benedict
Nguyen, On 12/13/2009 11:04 PM, Nguyen Xuan Son wrote: dear all im using PreparedStatement.setNString(int, String) to insert the japanese characters into my MySQL database but the result is all in "?" characters PreparedStatement pstmt = conn.prepareStatement(sql5); pstmt.setNString(3,

Re: unicode character is in wrong format

2009-12-13 Thread Nguyen Xuan Son
here is the detail of the error's message java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invo