aspose file tools*
The moose likes Beginning Java and the fly likes can somebosy help me in showing unicode in stand alone app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can somebosy help me in showing unicode in stand alone app" Watch "can somebosy help me in showing unicode in stand alone app" New topic
Author

can somebosy help me in showing unicode in stand alone app

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
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

Joined: Dec 10, 2001
Posts: 7023
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.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
John Dale
Ranch Hand

Joined: Feb 22, 2001
Posts: 399
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

Joined: Jan 30, 2000
Posts: 18671
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.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can somebosy help me in showing unicode in stand alone app
 
Similar Threads
JBOSS EJB TO APPLET
open excel from java
value returned by function
What is this class for Character.UnicodeBlock is all about?