How the Unicode Inspector Works
AnyTool Unicode Inspector analyses text entirely in the browser. It splits input into grapheme clusters with the native Intl.Segmenter API and into code points with Array.from, then derives each code point’s general category using regular-expression property escapes (\p{L}, \p{N}, \p{Zs}, \p{Cc}, \p{Emoji} and so on), its script via \p{Script=...} probing, and its Unicode block from a hand-rolled code-point range table. UTF-8 bytes come from TextEncoder and UTF-16 units from the string itself.
- Graphemes use Intl.Segmenter; code points use Array.from iteration
- General category derived from \p{...} Unicode property escapes
- Script identified by probing a broad set of \p{Script=...} values
- Unicode block resolved from a range table; plane computed from value
- All analysis is client-side JavaScript — no server round-trip
