File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Information Abt Unicode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Information Abt Unicode" Watch "Information Abt Unicode" New topic

Information Abt Unicode

fahad shahab

Joined: Feb 03, 2001
Posts: 11
Give me a some progeram regarding unicode....
I want a progeam that can print Urdu Characters or in other language.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
class Test{
public static void main(String args[]){
String greekStuff = new String("\u03a9\u03c0\u03d5");
Of course this supposes that your PC has the proper fonts loaded up. My PC does not have the Greek font so it prints ???.
I guess I could change my font.properites file but. . . .
[This message has been edited by Cindy Glass (edited May 03, 2001).]

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Information Abt Unicode
Similar Threads
On Assertions
java is ASCII or Unicode ??
Byte order and file transference.
Is ch\u0061 a='a' a valid declaration?