Get your CodeRanch badge!*
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
Author

Displaying Char's: Unicode vs ASCII

Douglas TerBush
Greenhorn

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?

Layne


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying Char's: Unicode vs ASCII
 
Similar Threads
Displaying Greek values read from Database
How to get ASCII Value
How a character save in 2 bytes in Java?
Unicode Character
java is ASCII or Unicode ??