pvtsutils
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
Found 54 results for utf16
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
[fork] TextEncoder and TextDecoder (Polyfill for the Encoding Living Standard's API) For Node.JS.
Get a UTF-16-encoded code point number of a character
Support as many legacy encodings as possible
Create a string from a sequence of Unicode code points.
A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.
Get the code points of each character in the string
Unicode character information library.
A library for working with Unicode character sets
A zero-dependency tool to encode/decode UTF-8, UTF-16 and hex strings. For browser and Node.js. With typings.
Maximum Unicode code point in the Basic Multilingual Plane (BMP).
Maximum Unicode code point.
Grapheme cluster break tooling.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Convert a UTF-16 encoded string to an array of integers using UTF-8 encoding.
Return the next extended grapheme cluster break in a string after 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.
The maximum code point available in JavaScript
A Node.js library for converting HTML documents of arbitrary encoding into a target encoding (utf8, utf16, etc).
Percent-encode a UTF-16 encoded string according to RFC 3986.
Get location of code point in a string or get code points from string
Percent-encode a UTF-16 encoded string according to RFC 3986.
Return a regular expression to match an unpaired UTF-16 surrogate.
Unicode-aware string functions
UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.
Reverse UTF-16 string
Library for encoding and decoding between strings and byte arrays, including Base64, Hex, UTF-8, and UTF-16.
Chinese character encoding detection for GB18030, Big5, UTF-8, UTF-16
String offset conversions between UTF-8, UTF-16, and lines
A high-performance wrapper around `Intl.Segmenter` for efficient text segmentation. This class resolves memory handling issues seen with large strings and can enhance performance by 50-500x. Only ~70 loc (with comments) and no dependencies.
Encode and decode text files in a reliable way
Return a regular expression to match a UTF-16 surrogate pair.
Standard string unicode constants.
Read and write text files in a reliable way
UTF-16 code-point based lexical string scanner.
Percent-encode a UTF-16 encoded string according to RFC 3986.
base32 encoding and decoding that optimizes byte size based on input characters and supports unicode.
Unicode Toolkit
Invoke a function for each UTF-16 code unit in a string.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
A decoder and encoder that allow you to manipulate bits in nanoseconds.
Create a string from a sequence of Unicode code points.
Return the next extended grapheme cluster break in a string after a specified position.
Return the previous extended grapheme cluster break in a string before a specified position.
Invoke a function for each character in a string.
Methods for manipulate Unicode and more.
Invoke a function for each UTF-16 code unit in a string, iterating from right to left.
Convert UTF8 to UTF16
Return the position of the next Unicode code point in a string after a specified position.
Return the previous extended grapheme cluster break in a string before a specified position.
utf8, utf16, wtf8, and wtf16 decoding without strings
Return a Unicode code point from a string at a specified position.
Return the position of the next Unicode code point in a string after a specified position.