google app engine - How to convert the special characters to normal values using java -


html>

I am accepting different language values ​​by converting the value to htmlEscape.

Example of a Greek value Όνομα, name = Όνομα; HtmlEscape (name); Its output is and # x38c; & Amp; # X3bd; & Amp; # X3bf; & Amp; # X3bc; & Amp; # X3b1; Savings value is.

Now I should assume that it should be converted back to Java, I have StringEscapeUtils.unescapeHtml ("& amp; # x38c; and # x3bd; and # x3bf; & # x3bc; & Used # x3b1; ";); This is showing a question mark like this: ???? .

In the same way I tried in the Java application, it works fine, but when it comes to the web app it is not working, I am using Eclipse IDE.


Comments