File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unicode characters usage in Standalone Java application

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 88
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic