How to convert string to an ascii?
807605Sep 4 2007 — edited Sep 4 2007Hi,everyone!
I want to convert the string "����" to ascii , for example:
"����" -> \u4e2d\u56fd
The "->" means the "����" will be converted to "\u4e2d\u56fd" by the tools which the j2sdk's bin name "native2ascii.exe", but I need to use java language to do the same converting work for some reason.
So could you help me?
Thanks a lot!