• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can somebosy help me in showing unicode in stand alone app

 
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic