1. Below
characters in XML are escape characters. For example –
Escape Charters
|
Actual Character
|
>
|
>
|
<
|
<
|
á
|
Latin small letter a
with acute (á)
|
T To un-escape characters use Apache Commons library. For example –
//line of code
println(org.apache.commons.lang3.StringEscapeUtils.unescapeHtml4("< Sáchdev Dinesh >"))
//This will result -
< Sáchdev Dinesh >
Comments
Post a Comment