On Tue, 2005-03-01 at 10:36 -0800, Chetan Pandey wrote:

> 
> 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");

I havent touched Java for a long time, but isn't?
  "\u9009" != '\u9009' 

The former definitely being a string of length 5 (the char '\u' +
"9009"), while the latter is an unicode character. Or am I mixing all
this with Perl/PHP/Python etc. etc. ?

- Sandip

--
Sandip Bhattacharya    *    Puroga Technologies   *     [EMAIL PROTECTED]
Work: http://www.puroga.com   *    Home/Blog: http://www.sandipb.net/blog

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3



_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to