Encode XML entities into UTF8 string. First checks if processing is needed. If not, the original string is returned. If processing is needed, a new string is allocated.
See Implementation
Encode XML entities into UTF8 string. First checks if processing is needed. If not, the original string is returned. If processing is needed, a new string is allocated.