utf16le-encoding
UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.
UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.
A zero-dependency tool to encode/decode UTF-8, UTF-16 and hex strings. For browser and Node.js. With typings.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return a Unicode code point from a string at a specified position.
Return a Unicode code point from a string at a specified position.
Return a Unicode code point from a string at a specified position.
Invoke a function for each character in a string.
Create a string from a sequence of Unicode code points.
Create a string from a sequence of Unicode code points.
Return the previous extended grapheme cluster break in a string before a specified position.
Return the position of the next Unicode code point in a string after a specified position.
Return the position of the next Unicode code point in a string after a specified position.
Return the next extended grapheme cluster break in a string after a specified position.
Return the next extended grapheme cluster break in a string after a specified position.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Return the previous extended grapheme cluster break in a string before a specified position.
Invoke a function for each UTF-16 code unit in a string.
Invoke a function for each UTF-16 code unit in a string, iterating from right to left.