This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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: 19346
    
  41

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)
 
rocket mass heater kickstarter
 
subject: how to use unicode char?