This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes how to use unicode char? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "how to use unicode char?" Watch "how to use unicode char?" New topic
Author

how to use unicode char?

rutuparna andhare
Greenhorn

Joined: Oct 29, 2009
Posts: 14
hello,
System.out.println('\u0905');------------------>gives ?
but
unicode char says that '\0905' --------> devanagri A

how to handle this problem.



Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19936
    
  44

This is not a java issue -- if it is showing '?', it means that you don't have a font character data. You need to load the correct fonts into your OS.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to use unicode char?
 
It's not a secret anymore!