This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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

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
GeeCON Prague 2014
subject: Information Abt Unicode