It's not a secret anymore!
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
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: 20531

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)
I agree. Here's the link:
subject: how to use unicode char?
jQuery in Action, 3rd edition