Encode any unencoded entities in the input string.
string to encode
output string
encoded output string
See Implementation
Encode any unencoded entities in the input string.