File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Displaying Char's: Unicode vs ASCII Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Displaying Char Watch "Displaying Char New topic

Displaying Char's: Unicode vs ASCII

Douglas TerBush

Joined: Aug 27, 2002
Posts: 2
I'm just learning Java now, I read that Java uses Unicode, slightly over 50,000 characters and still supports ASCII 127 characters. I wrote a quick script to display all the unicode characters and got question marks for it. I rewrote it for 127 characters of Unicode and got it to display correctly.

I take it that Unicode only displays the characters loaded in your O/S??? Just curious actually.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Yes, your OS has to support Unicode as well in order to display the characters that don't coincide with the ASCII character set. So what OS are you using?


Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: Displaying Char's: Unicode vs ASCII
It's not a secret anymore!