struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Siman <aleksandr.si...@gmail.com>
Subject Re: unicode character is in wrong format
Date Mon, 14 Dec 2009 22:50:07 GMT

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 result is all in "?????????" characters
> 
> PreparedStatement pstmt = conn.prepareStatement(sql5);
> pstmt.setNString(3, item.getTitle());
> rs = pstmt.executeUpdate();
> 
> do you have any suggestion?
> 
> -- 
> =======================================================================
> Ritsumeikan University, Asia JinZai Project
> Master of Information Science
> Nguyen Xuan Son
> 
> Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
> ShiteiHaimu
> Rien, Room 103
> Tel/Fax  : 81-(0)90-3976 2246
> Email    : nr0003xx@ed.ritsumei.ac.jp
> Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
> =======================================================================
> 
> 

-- 
View this message in context: http://old.nabble.com/unicode-character-is-in-wrong-format-tp26773061p26780218.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message