Enhance the String class with a XML escaped character version of to_s.
XML escaped version of to_s. When escape is set to false the CP1252 fix is still applied but utf-8 characters are not converted to character entities.
[Validate]