Invisible Character Detector
Find zero-width spaces, BOMs, bidi controls and soft hyphens hiding in your text, see their line and column, then clean them out.
Findings
4 foundZero-width
1
Bidi control
1
BOM
1
Soft hyphen
1
Braille blank
0
Character positions
| Position | Code point | Unicode name | Kind |
|---|---|---|---|
| 2:15 | U+200B | ZERO WIDTH SPACE | Zero-width |
| 3:13 | U+FEFF | ZERO WIDTH NO-BREAK SPACE (BOM) | BOM |
| 4:14 | U+00AD | SOFT HYPHEN | Soft hyphen |
| 5:14 | U+202E | RIGHT-TO-LEFT OVERRIDE | Bidi control |
Invisible characters are replaced by ⟨U+XXXX⟩ markers so you can see where they sit.
正常的一行文字 这一行中间有一个零宽空格:文⟨U+200B⟩本 这一行以 BOM 开头:⟨U+FEFF⟩hello 软连字符会被排版吃掉:co⟨U+00AD⟩operate 这一行有双向控制符:abc⟨U+202E⟩def
Cleaned result
Uncheck a kind to keep it, for example remove zero-width spaces but keep soft hyphens for typesetting.
正常的一行文字 这一行中间有一个零宽空格:文本 这一行以 BOM 开头:hello 软连字符会被排版吃掉:cooperate 这一行有双向控制符:abcdef
These characters are invisible but make two "identical" strings unequal: regex fails, deduplication misses, CSV gains an extra quote, and variable names in code stop matching.
Only the code points listed above are handled. No NFC / NFD normalisation is applied, because that changes glyph forms in some languages.
Comments
No comments yet — be the first to say something