Internal method for decoding any encoded entities in a string.
string to decode
decoded output string
See Implementation
Internal method for decoding any encoded entities in a string.