Try an example:
Domain check what a browser actually resolves
Four different answers to “how long is this string?” — this is why len() disagrees between languages.
Rendered, with the invisible made visible
Hidden and non-standard characters are shown as labelled chips. Hover any chip for its name.
Grapheme clusters
What a human calls “one character”. Segmented with Intl.Segmenter; a cluster spanning several code points is marked.
Code points
| # | Char | Code point | Name | Category | Script | UTF-8 |
|---|
Normalization
Unicode gives you several ways to spell the same text. Compare or hash strings only after normalizing, usually to NFC.
Encodings & escapes
Cleaned output
Every invisible and bidi-control character removed, everything else untouched.