commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geraldo Netto <geraldone...@gmail.com>
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

So:
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
site: http://exdev.sf.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message