Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing Extended Character Set values

 
Ansh Bhai
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic