File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "how to use unicode char?" Watch "how to use unicode char?" New topic

how to use unicode char?

rutuparna andhare

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

how to handle this problem.

Henry Wong

Joined: Sep 28, 2004
Posts: 20370

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.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
jQuery in Action, 3rd edition
subject: how to use unicode char?
It's not a secret anymore!