Middle Dot vs Narrow No-Break Space
VS
Property Comparison
| Property | · 00B7 | 202F |
|---|---|---|
| Name | Middle Dot | Narrow No-Break Space |
| Category | Punctuation | Punctuation |
| Block | Latin-1 Supplement | General Punctuation |
| Script | Zyyy | Zyyy |
| General Category | Other Punctuation (Po) | Space Separator (Zs) |
| Bidirectional | ON | CS |
Encoding Comparison
| Format | 00B7 | 202F |
|---|---|---|
| Unicode | U+00B7 | U+202F |
| HTML Decimal | · |   |
| HTML Hex | · |   |
| CSS | \00B7 | \202F |
| JavaScript | \u{B7} | \u{202F} |
| Python | \u00b7 | \u202f |
| UTF-8 | c2 b7 | e2 80 af |
How to Distinguish
Both Middle Dot and Narrow No-Break Space are in the Punctuation category but reside in different Unicode blocks. Check the codepoint to tell them apart.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.