This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to store the Chinese character value in the Java. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to store the Chinese character value in the Java." Watch "How to store the Chinese character value in the Java." New topic
Author

How to store the Chinese character value in the Java.

Balaji Soundarajan
Ranch Hand

Joined: Jan 23, 2009
Posts: 58
Hi,

I need to assign the Chinese character string in the java String variable. I am getting the value from the jsp 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.

Regards,
Balaji.S
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Java Strings support unicode, so there is nothing to prevent you saving a Chinese character. Have a read of this.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to store the Chinese character value in the Java.
 
Similar Threads
database operation with other character set
char to string conversion
Java char data type problem
Chinese characters are not displayed correctly
Need to store the Chinese character in the Java String variable from the ResultSet