Dear List:
 
Since I last posted my problem I have tried to explore other possibilities. This is where I am stuck.
 
A statement like the following is working:
 
String yy = " '\u0907' and \u0908";
TextBox1.setText( yy );
 
gives correct devanagari display of Hindi akshar 'i' and 'I'.
 
However, when I convert my ITRANS word into Devanagari Unicode via statements like the following:
 
String transformed = <ITRANS INPUT of USER>;

transformed = transformed.replaceAll("u", "\u9009");
 transformed = transformed.replaceAll("a", "\u9005");
 transformed = transformed.replaceAll("A", "\u9006");
 transformed = transformed.replaceAll("i", "\u9007");
 transformed = transformed.replaceAll("I", "\u9008");
.
.
.
.
 
And I try to do:
TextBox1.setText( transformed );
 
I get boxes only no text.
 
I also tried to scan each char using:
 
if( s1.charAt(0) == 'S' )
  transformed += "\u9306";
 
but to no avail.
 
Pls tell me how to scan my String properly.
 
Thanks.
 
Chetan Pandey
 

 
 
 
 


Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to