I have used the Apache Commons StringEscapeUtils.unescapeHtml4() for this:
Unescapes a string containing entity
escapes to a string containing the
actual Unicode characters
corresponding to the escapes. Supports
HTML 4.0 entities.
More Related Contents:
- How to unescape HTML character entities in Java?
- Fatal Error: Invalid Layout of java.lang.String at value
- Extract all string from a java project
- difference between ionic and android sdk
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
- How to add native library to “java.library.path” with Eclipse launch (instead of overriding it)
- Eclipse error: “The import XXX cannot be resolved”
- How do I trim a file extension from a String in Java?
- Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”
- ArrayList initial capacity and IndexOutOfBoundsException [duplicate]
- CharSequence VS String in Java?
- Is there a macro recorder for Eclipse? [closed]
- Java String array: is there a size of method?
- Can I add new methods to the String class in Java?
- Extract the difference between two strings in Java
- Android Geocoder getFromLocationName always returns null
- How do I include .class files in my project in Eclipse? (Java)
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path [duplicate]
- Saving Logcat to a text file in Android Device
- Eclipse reported “Failed to load JNI shared library” [duplicate]
- How do I check if a char is a vowel?
- Raw Strings in Java – for regex in particular. Multiline strings
- Java: Check if enum contains a given string?
- How to convert CharSequence to String?
- The import javax.servlet can’t be resolved [duplicate]
- Which @NonNull Java annotation to use [duplicate]
- How to change JAVA.HOME for Eclipse/ANT
- Convert String into a Class Object [closed]
- Eclipse EXCEPTION_ACCESS_VIOLATION crash
- how do you make getResourceAsStream work while debugging Java in Eclipse?