Double Hyphen vs Fullwidth Digit Five
VS
Property Comparison
| Property | ⹀ 2E40 | 5 FF15 |
|---|---|---|
| Name | Double Hyphen | Fullwidth Digit Five |
| Category | Punctuation | Punctuation |
| Block | Supplemental Punctuation | Halfwidth and Fullwidth Forms |
| Script | Zyyy | Zyyy |
| General Category | Dash Punctuation (Pd) | Decimal Number (Nd) |
| Bidirectional | ON | EN |
Encoding Comparison
| Format | 2E40 | FF15 |
|---|---|---|
| Unicode | U+2E40 | U+FF15 |
| HTML Decimal | ⹀ | 5 |
| HTML Hex | ⹀ | 5 |
| CSS | \2E40 | \FF15 |
| JavaScript | \u{2E40} | \u{FF15} |
| Python | \u2e40 | \uff15 |
| UTF-8 | e2 b9 80 | ef bc 95 |
How to Distinguish
Both Double Hyphen and Fullwidth Digit Five 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.