Caret vs Zero Width Non-Joiner
VS
Property Comparison
| Property | ‸ 2038 | 200C |
|---|---|---|
| Name | Caret | Zero Width Non-Joiner |
| Category | Punctuation | Punctuation |
| Block | General Punctuation | General Punctuation |
| Script | Zyyy | Zinh |
| General Category | Other Punctuation (Po) | Format (Cf) |
| Bidirectional | ON | BN |
Encoding Comparison
| Format | 2038 | 200C |
|---|---|---|
| Unicode | U+2038 | U+200C |
| HTML Decimal | ‸ | ‌ |
| HTML Hex | ‸ | ‌ |
| CSS | \2038 | \200C |
| JavaScript | \u{2038} | \u{200C} |
| Python | \u2038 | \u200c |
| UTF-8 | e2 80 b8 | e2 80 8c |
How to Distinguish
Both Caret and Zero Width Non-Joiner belong to the Punctuation category and the General Punctuation block. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.