aspose file tools*
The moose likes Java in General and the fly likes Unicode characters usage in Standalone Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unicode characters usage in Standalone Java application" Watch "Unicode characters usage in Standalone Java application" New topic
Author

Unicode characters usage in Standalone Java application

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Hi all,
How to display the UNICODE characters (languages) in standalone JAVA application. I'm able to use unicode characters calling the JAVA application through IE browser.
Please guide me how to solve this problem.
Cheers
Jowsaki
Colin Kenworthy
Ranch Hand

Joined: Aug 06, 2001
Posts: 88
You can code unicode chars one at a time with the \u0000 notation. Or you can include them in Strings.
e.g. char x = '\u0055';
String s = "Unicode \u0055";
Codes are listed at www.unicode.org
 
 
subject: Unicode characters usage in Standalone Java application