A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to store the Chinese character value in the Java.
Joined: Jan 23, 2009
May 19, 2009 03:11:27
I need to assign the Chinese character
String variable. I am getting the value from the
file, in jsp through script the chinese value is displaying but in java i can't able to store the same value in the java String variable.
Please do the needful.
Joined: Apr 14, 2004
May 19, 2009 03:27:40
Java Strings support unicode, so there is nothing to prevent you saving a Chinese character. Have a read of
I agree. Here's the link:
subject: How to store the Chinese character value in the Java.
Chinese characters are not displayed correctly
char to string conversion
Java char data type problem
Need to store the Chinese character in the Java String variable from the ResultSet
database operation with other character set
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015