Encoding: Introduce new functions encodeNonAsciiHTML and escapeUTF8 to enhance your ability to handle non-ASCII characters and UTF-8 encoding seamlessly.
Improvements
General: Improve the encoding process by combining regexes for escaping, making it more efficient and reliable.
Decoding: Simplify the regex used for strict decoding, enhancing performance while maintaining accuracy.
Others
Testing: Update tests for the new escapeUTF8 function to ensure it performs as expected.
Documentation: Add doc comments for most methods and deprecate some outdated methods to improve clarity and usability.