Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Encode string to UTF-8

807589Sep 25 2008 — edited Sep 25 2008
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2008
Added on Sep 25 2008
5 comments
736 views