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.
Support as many legacy encodings as possible
Get a UTF-16-encoded code point number of a character
A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.
Create a string from a sequence of Unicode code points.
Get the code points of each character in the string
Unicode character information library.
A library for working with Unicode character sets
Maximum Unicode code point in the Basic Multilingual Plane (BMP).
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.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Grapheme cluster break tooling.
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.
Percent-encode a UTF-16 encoded string according to RFC 3986.
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).
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.
Encode and decode text files in a reliable way
Chinese character encoding detection for GB18030, Big5, UTF-8, UTF-16
String offset conversions between UTF-8, UTF-16, and lines
Library for encoding and decoding between strings and byte arrays, including Base64, Hex, UTF-8, and UTF-16.
Reverse UTF-16 string
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.
Return a regular expression to match a UTF-16 surrogate pair.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Standard string unicode constants.
UTF-16 code-point based lexical string scanner.
Read and write text files in a reliable way
Invoke a function for each UTF-16 code unit in a string.
base32 encoding and decoding that optimizes byte size based on input characters and supports unicode.
Unicode Toolkit
Methods for manipulate Unicode and more.
utf8, utf16, wtf8, and wtf16 decoding without strings
Invoke a function for each UTF-16 code unit in a string, iterating from right to left.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return the position of the next Unicode code point in a string after a specified position.
Create a string from a sequence of Unicode code points.
Return the previous extended grapheme cluster break in a string before a specified position.
Invoke a function for each character in a string.
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.
Convert UTF8 to UTF16
A decoder and encoder that allow you to manipulate bits in nanoseconds.
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.