File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes confused with unicode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "confused with unicode" Watch "confused with unicode" New topic

confused with unicode

Simeon Shi
Ranch Hand

Joined: Dec 09, 2001
Posts: 35
why the code followed output the '?' character
char a = 823;
but i tried another block of code;
the output is 63 which is the same as ASCII.
3x in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
Probably because the display you were looking at only supports ASCII and not a complete Unicode font set.
Simeon Shi
Ranch Hand

Joined: Dec 09, 2001
Posts: 35
yeah, that hit the point
thanks a ton!
I agree. Here's the link:
subject: confused with unicode
jQuery in Action, 3rd edition