On 18/05/2010 4:02 AM, Sarkar, Sudipta wrote:
> connProp.put("user", "\u6cf0\u5c71"); //Set the user name. Need to use
> Unicode escaped since it contains non ascii characters
What character encoding are your source files in? You should be able to
write normal UTF-8 encoded text so long as your compiler/IDE knows that
those are UTF-8 source files.
> My jdbc version is 8.3-603 and my database encoding is UTF-8.
Maybe try the latest JDBC driver (701), just to make sure it's not an
old issue...
--
Craig Ringer