This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unicode characters usage in Standalone Java application

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic