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 Head First Android this week in the Android 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
It is sorta covered in the JavaRanch Style Guide.
subject: Information Abt Unicode
jQuery in Action, 3rd edition