Support as many legacy encodings as possible
Counts the SMS character usage in browser as well as NodeJS environments.
UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.
Counts the SMS character usage in browser as well as NodeJS environments.
Convert between JavaScript UCS-2-encoded strings and OCaml-friendly UTF-8 byte-arrays