• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can somebosy help me in showing unicode in stand alone app

 
arun mahajan
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to show some other language in my stand alone application how is it possible?
Any referance site? I visited the unicode.org but seems lost? any helping code snippet will be great help
regards,
Arun
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first issue to resolve is whether the user has the proper font installed on their system in order to display the specified unicode character.
You may have already tried to display various unicode characters, only to have a bunch of question marks displayed instead. The problem probably isn't the unicode specification, but that the necessary font isn't installed.
For example, if I were to try to display a simplified chinese character on my system, it wouldn't work as hoped because I don't have a simplified chinese font installed.
Try a quick search on Sun's Java Tutorial for unicode and/or internationalization for more information.
 
John Dale
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Dirk said, the Java documentation and tutorials provide some help on this.
If you know how to create strings in the language of interest, you will also need see that they can be rendered on you system. If you like to dive right into the middle, you might take a look at FAQ on rendering.
You'll find this, and much more, in the Internationalization topic under Guide to Java Features - Basic Features of the JDK documentation.
[ August 17, 2002: Message edited by: John Dale ]
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also - don't bother trying to get this to work using standard output (System.out) - it probably won't. Use Swing (or AWT) components to display text. Or create text files which can be read by some other application which knows how to display other alphabets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic