Fullwidth Digit Two vs Middle Dot
VS
Property Comparison
| Property | 2 FF12 | · 00B7 |
|---|---|---|
| Name | Fullwidth Digit Two | Middle Dot |
| Category | Punctuation | Punctuation |
| Block | Halfwidth and Fullwidth Forms | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Other Punctuation (Po) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | FF12 | 00B7 |
|---|---|---|
| Unicode | U+FF12 | U+00B7 |
| HTML Decimal | 2 | · |
| HTML Hex | 2 | · |
| CSS | \FF12 | \00B7 |
| JavaScript | \u{FF12} | \u{B7} |
| Python | \uff12 | \u00b7 |
| UTF-8 | ef bc 92 | c2 b7 |
How to Distinguish
Both Fullwidth Digit Two 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.