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.
UTF-16 code-point based lexical string scanner.
Counts the SMS character usage in browser as well as NodeJS environments.