INTRO
The utf8.js module provides UTF-8 encoder/decoder. The size of utf8.js is 227 bytes.
API
utf8_enc(x)
Performs UTF-8 encoding
utf8_dec(x)
Performs UTF-8 decoding
utf8_arr(x)
Returns UTF-8 encoded ArrayBuffer.
You may also want to read: bert.js, heart.js, nitro.js, n2o.js.