• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to store the Chinese character value in the Java.

 
Balaji Soundarajan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Strings support unicode, so there is nothing to prevent you saving a Chinese character. Have a read of this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic