I was given a string like
example.com/test?region=us&lang=en&jurisdiction=us
How can I write the java code to decode the e
You can also include special characters in XPL. XPL has exactly the same structure as XML, but allows special characters. There is an XML parser with source code available for transformations at http://hll.nu
StringEscapeUtils seems to escape everything
To unescape HTML/XML entities, use Apache Commons Lang StringEscapeUtils or homegrow one.