aspose file tools
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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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: 12868
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!
It is sorta covered in the JavaRanch Style Guide.
subject: confused with unicode