Hi, happy new year everyone!
I m using SmartGwt2.1 + MySQL5 + Java6, Ubuntu 10.04
our system requires chinese and other asian languages to be saved and displayed according to the locale of the user. The system has no problem to display and retrieve Chinese from the database and display, but cannot save Chinese characters.
From the server logs and Dev Console RPC tab, the Chinese characters are sent to the sever properly, but the SQL log shows question marks.
I m using SQL DataSource, do i need to configure the XML file to accept UTF8 encoding to do this or something else?
P.S. The JVM character set is UTF8
Thanks!
I m using SmartGwt2.1 + MySQL5 + Java6, Ubuntu 10.04
our system requires chinese and other asian languages to be saved and displayed according to the locale of the user. The system has no problem to display and retrieve Chinese from the database and display, but cannot save Chinese characters.
From the server logs and Dev Console RPC tab, the Chinese characters are sent to the sever properly, but the SQL log shows question marks.
I m using SQL DataSource, do i need to configure the XML file to accept UTF8 encoding to do this or something else?
P.S. The JVM character set is UTF8
Thanks!
Comment