5 Replies Latest reply on Mar 26, 2007 11:41 PM by 807606

    Converting String to unicode encoded string

    807606
      Hi,

      I would like to convert non-ascii characters in a String or the whole string to unicode encoded character.

      For example:

      If i have some japanese character, I would like it to be converted to /uxxxx

      How can i do this? I don't want the exact character, as I am able to get that using getBytes("encoding format"). All i want is code point representation of the non ascii unicode characters.

      Any help to do this will be appreciated.
      Thanks in advance.