Invisible characters: inspect before removing
Published · Copimoji editorial team
A blank-looking character may be a space, a non-breaking space or a formatting control. A search that treats them as identical can hide why a line breaks or a comparison fails.
| Character | Unicode | Inspect this character | Copy |
|---|---|---|---|
| SPACE | U+0020 | Inspect this character | |
| NO-BREAK SPACE | U+00A0 | Inspect this character | |
| NARROW NO-BREAK SPACE | U+202F | Inspect this character | |
| ZERO WIDTH JOINER | U+200D | Inspect this character |
Paste a short sample in the inspector and examine the code points. In A B, U+00A0 prevents an ordinary break at that space. In an emoji sequence, U+200D may connect several characters into one glyph.
Do not strip every invisible character. Work on a copy, identify the function, then replace only what the destination system requires. Removing a joiner may split an emoji or change shaping in other writing systems.
Sources and further reading
- Unicode Consortium. (2026). Writing systems and punctuation. The Unicode Standard, version 18.0. www.unicode.org
- Unicode Consortium. (2026). Unicode emoji (UTS #51, version 18.0). www.unicode.org