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!

Check if a String is in UTF8

807603Dec 31 2007 — edited Jan 9 2008
How can I verify that the content of a String variable is in UTF8 or not.
For example:
String s = new String("��������������");
how can I verify that s is having UTF8 string or not.

Regards,
-vc
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2008
Added on Dec 31 2007
44 comments
7,058 views