commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geraldo Netto <>
Subject [lang] StringEscapeUtils - from &euro; to &#8364;
Date Thu, 25 Jun 2015 18:21:25 GMT
Dear All,

Sorry for cross-posting between user/dev lists
I'm trying to escape special chars using StringEscapeUtils

And i would like to ask
how can i change the escape format from html string code to html number code

StringEscapeUtils.escapeHtml4(EURO_SIGN) is returning &euro;

But i would like to return: &#8364;

Do you have any suggestions on how to handle this?
In any case i'm willing to volunteer myself to write the code as long
as a mentor shows up :)

Thank You Very Much and Kind Regards,

Geraldo Netto
Sapere Aude => Non dvcor, dvco
São Paulo, Brasil, -3gmt

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message