Search results
14 packages found
Get the UTF-8 byte length of a string
- binary
- bytes
- emoji
- encoding
- javascript
- json
- length
- library
- nodejs
- parsing
- serialization
- size
- string
- string-manipulation
- View more
Like `string.slice()` but bytewise
- binary
- bytes
- emoji
- encoding
- javascript
- json
- length
- library
- nodejs
- serialization
- size
- slice
- string
- string-manipulation
- View more
Typescript library for splitting strings into SMS messages according to GSM-7 or UCS-2.
Support as many legacy encodings as possible
Encodes text and binary data to a subset of Unicode plane 1 (BMP). Runs in browser and Node.js. Character compression. Makes binary data copy-pastable. URL-safe.
- base-unicode
- compression
- encode
- decode
- string
- binary
- typescript
- browser
- Node.js
- UTF16
- UCS-2
- URI
- URL-safe
- copy-pastable
UTF-16 code-point based lexical string scanner.
- lexer
- lexical
- lexical-scanning
- lexicalanalysis
- lexicalscanning
- scanner
- scanning
- ucs
- ucs-2
- ucs2
- unicode
- utf
- utf-16
- utf16
encode a string to different characters encodings
Brotli compression/decompression that encodes to base-unicode and back. Node.js and Browser support.
Hex-escape (\uHHHH) those UCS-2 characters that cannot be encoded as UTF-8, and the replacement character, to help you distinguish verbatim occurrences from freshly discarded data.
Get a Text Message's size depending on it's content. Get it's encoding and which characters are not GSM-7 compatible.
UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.
The node-sms-pdu is a SMS-SUBMIT PDU (Packet Data Unit) generator and SMS-SUBMIT/DELIVER PDU parser. This module supports the GSM 7-bit default alphabet encoding and the UCS-2 16-bit alphabet encoding. Besides, it supports the Concatenated (or Multipart o
Convert between JavaScript UCS-2-encoded strings and OCaml-friendly UTF-8 byte-arrays
- BuckleScript
- ReasonML
- OCaml
- runtime
- shim
- string
- codec
- TextDecoder
- decoder
- decoding
- TextEncoder
- encoder
- encoding
- charset
- View more
Surrogate pair converter with dev-friendly source code.