Function
escapeUTF8
function escapeUTF8(data: string): stringDefined in escape.ts:150
Encodes all characters not valid in XML documents using XML entities.
Note that the output will be character-set dependent.
Parameters
data: stringString to escape.
Returns
string