diff --git a/readme.md b/readme.md index 2eb0a3f..8864ac9 100644 --- a/readme.md +++ b/readme.md @@ -21,12 +21,10 @@ When enabled, prepends an invisible zero-width signature to the output. This all ## How ZWUS Works -Because ZWUS operates directly on numerical code points (`U+0000` to `U+10FFFF`), encoding works with **all Unicode characters in existence**—including every language script, emoji, and symbol. - -1. Take each character's Unicode code point. -2. Convert it to the chosen base (3, 6, or 8). -3. Map each resulting digit to its assigned zero-width character from the alphabet. -4. Join digits together; separate characters with the base's designated separator (also zero-width). +1. Takes each character's Unicode code point. +2. Converts it to the chosen base (3, 6, or 8). +3. Maps each resulting digit to its assigned zero-width character from the alphabet. +4. Joins digits together; separates characters with the base's designated separator (also zero-width). The result is a string of invisible Unicode that carries the full original text. Decoding reverses the mapping: split on the separator, look up each zero-width character to recover the digit, parse the base-N number back to a code point, and reconstruct the string. @@ -40,3 +38,6 @@ The encoder/decoder is available as a standalone package for multiple languages: - **JavaScript/TypeScript:** [zwus on npm](https://www.npmjs.com/package/zwus) - **Rust:** [zwus on crates.io](https://crates.io/crates/zwus) + +> [!NOTE] +> Encoding works with **all Unicode characters in existence** (`U+0000` to `U+10FFFF`), including every language script, emoji, and symbol.