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!

Replacing unicode character literals with characters.

796381Jul 10 2009 — edited Jul 12 2009
Hi, say i have a String like:
String example = "\\u1234 llamas \\uabcd\\c0d4";
etc.

How would I replace all the unicode literals (\\u1234 etc.) with the actual characters?
Is there an easy way to do this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 9 2009
Added on Jul 10 2009
25 comments
4,744 views