Encode string to UTF-8
807589Sep 25 2008 — edited Sep 25 2008Hi Friends,
I need to encode normal String to UTF-8 string.
I searched different ways,
One way I got is use of java.net.URLEncoder encode(NormalString,encoding_format).
Is that correct way or can you please suggest any other SIMPLE way (without using thirdparty library)..?
Thanks,
Harshit