This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Displaying Char's: Unicode vs ASCII
It's not a secret anymore!