Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

chinese to unicode in JAVA

807580Jun 28 2010 — edited Jun 29 2010
Guys,

I need to save a single chinese character entered by the user from keyboard at runtime, to a string and then later print the string ( when I should get the chinese character printed on the screen. ) Right now I am able to accept chinese characters. I can also print chinese characters if i enter its unicode form. BUT when i enter the chinese character to a string and then try to print it later, it shows a question mark. It does not give correct result when I compare the entered chinese character ( stored in a string ) to its unicode form also.

PLEASe please help !!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2010
Added on Jun 28 2010
18 comments
664 views