Dear List:
 
I am developing a software for Sanskrit Grammar. It takes User input in ITRANS format and then processes it to produce a String Object which is displayed in the Swing Text Box.
 
In order to enhance the visual appeal of my product I would like to make the ITRANS appear in Devanagari Unicode.
 
Converting ITRANS into Devanagari doesnt seem like a very difficult issue. Statement like the following for every character in the string can take care of the problem:
 
String transformed = <String User entered>;
 
transformed = transformed.replace('a','u\9005'); //replace all 'a' by 'u\9005'
transformed = transformed.replace('A','u\9006'); 
 
But my problem is that the DOS PROMPT shows '?' for these devanagari characters.
 
If I try to print Unicode Equivalents of English 'a' and 'b' etc they get printed exactly correctly,
 
Any suggestions how to make the Devanagari appear in Devanagari.
 
Chetan Pandey
 


Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to