user3315336 user3315336 - 6 months ago 28
HTML Question

Html entity decoder java

I have a string like this:

नमस्कार

Now i want to translate the string to html entity decoder. I can translate manually by using

url https://mothereff.in/html-entities

is there any java api to translate it ?
can anyone help me ? thanks in advance

Answer

It seems, after a quick google search, that a popular solution to this is using StringEscapeUtils.unescapeHtml4(). More information can be found in this Stack Overflow question.