Em Space vs Middle Dot
VS
Property Comparison
| Property | 2003 | · 00B7 |
|---|---|---|
| Name | Em 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 | 2003 | 00B7 |
|---|---|---|
| Unicode | U+2003 | U+00B7 |
| HTML Decimal |   | · |
| HTML Hex |   | · |
| CSS | \2003 | \00B7 |
| JavaScript | \u{2003} | \u{B7} |
| Python | \u2003 | \u00b7 |
| UTF-8 | e2 80 83 | c2 b7 |
How to Distinguish
Both Em 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.