wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes printing Extended Character Set values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "printing Extended Character Set values" Watch "printing Extended Character Set values" New topic
Author

printing Extended Character Set values

Ansh Bhai
Greenhorn

Joined: Jun 03, 2002
Posts: 10
How do you print characters from extended character set...in java? and display a symbol.
This may well be a dumb question and have a simple answer.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Surely this is no dumb question.
I don't have much experience in this area, but I do know a couple of things (and hopefully bringing this thread to the top of the pile again might help to grab the attention of someone with some more expereince).
Let's clarify your question.
By "extended" do you mean The Extended ASCII Codes?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm going to assume that you mean non-ASCII characters.
I'm pretty sure the standard Java console is only capable of displaying ASCII characters (all 255 of them). AWT or Swing can be used to display an Unicode character provided that the appropriate font is installed on the user's machine.
More information on Unicode can be found at http://www.unicode.org/
More information on the character sets that Java does support can be found in the standard API documentation:
http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html
Are you getting any ideas?
 
 
subject: printing Extended Character Set values