How to convert from HTML to UTF-8 in java

Posted by Llistes Sugra on Stack Overflow See other posts from Stack Overflow or by Llistes Sugra
Published on 2010-05-13T10:25:24Z Indexed on 2010/05/13 10:44 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

Hi, I have an ASCII String, with HTML entities, like:

 à
 ¨
 ç

I need this String to be without those entities and convert them into UTF-8 chars. Is there any easy way, in java to do that?

Where:

 Clazz.method("aà","UTF-8")

returns "aà"

or something like that?

© Stack Overflow or respective owner

Related posts about java

Related posts about conversion