The first version of Text Encoding library has been released.
It contains JavaScript utility functions for encoding and decoding binary data and text:
- converting between stream and Base64, Base64Url, Base32, Hexadecimal text formats
- encoding and decoding using a specified character set (e.g. UTF-8, ASCII, ISO-8859-1)
- escaping of text so it can be safely included in URL, HTML or XML
Source code and documentation can be found here: https://github.com/enonic/lib-text-encoding
See also Text Encoding lib in Enonic Market