Skip to Main Content

New to Java

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!

Converting char value to unicode

807600Jun 8 2007 — edited Jun 8 2007
Hi!!
I need some help with a problem. I want to conver a char value to unicode value.
for example I want to display unicode value of number 5


char num=5;
System.out.println(method.ChartoUnicode(num));

please, HELP ME, Im a newbie
thanks all.

Message was edited by:
Buttonpol
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2007
Added on Jun 8 2007
8 comments
241 views