File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
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: 59
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.