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!

Convert UTF-8 to UTF-16

807605Jun 26 2007 — edited Jun 27 2007
How do I convert UTF-8 to UTF-16. I want code to be like this..
public String convert (String string)
{
     //do something with the String
     //...

     return string;
}
Thanks in advance..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2007
Added on Jun 26 2007
12 comments
1,671 views