There is a string: Character\5C&\22\3C\3E'
I want to unescape.
There is a code for that:
package escaping;
import org.apache.commons.lang.StringEscapeUtils;
public class UnEscapingDemo {
public static void main(String[] args) {
String str = StringEscapeUtils.unescapeHtml("Character\\5C&\\22\\3C\\3E'");
System.out.println(str);
}
}
But in the end I have not expecting result. I have the same what I've put.. (without converting it)".
Why?
--
Edit:
I believe that "3E" here is stands for ">" .. for example
So, my expecting string is: Character\&"<>'