-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
The XML.escape is very basic and when working with latin accents I can not reach a good result!
Will no escape latin accents and if I escape before then the result will be ã (madness)
I suggest to use: org.apache.commons.lang3.StringEscapeUtils.escapeHtml4
Is the better escape solution, works like a charm with all characters in my experience.
Or adds these methods to avoid the default escape:
- XML.toString(Object object, String tagName, boolean escape)
- XML.toString(Object object, boolean escape)
Thank you!
Metadata
Metadata
Assignees
Labels
No labels