String entityToLiteral(String text, Bool html=true)
Arguments
text: The text to converthtml: Whether to use the named entities defined in HTML (e.g. £). This argument may be omitted, for a default of using them.
Usage
Return a String with all the XML entities in the original string converted to literal characters (for example ª or ª would become Char(170)). Optionally, the HTML named entities may also be converted (so ª would also become Char(170)).