Hair Space vs Middle Dot
VS
Property Comparison
| Property | 200A | · 00B7 |
|---|---|---|
| Name | Hair Space | Middle Dot |
| Category | Punctuation | Punctuation |
| Block | General Punctuation | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| General Category | Space Separator (Zs) | Other Punctuation (Po) |
| Bidirectional | WS | ON |
Encoding Comparison
| Format | 200A | 00B7 |
|---|---|---|
| Unicode | U+200A | U+00B7 |
| HTML Decimal |   | · |
| HTML Hex |   | · |
| CSS | \200A | \00B7 |
| JavaScript | \u{200A} | \u{B7} |
| Python | \u200a | \u00b7 |
| UTF-8 | e2 80 8a | c2 b7 |
How to Distinguish
Both Hair Space and Middle Dot 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.