Double Hyphen vs Horizontal Ellipsis
VS
Property Comparison
| Property | ⹀ 2E40 | … 2026 |
|---|---|---|
| Name | Double Hyphen | Horizontal Ellipsis |
| Category | Punctuation | Punctuation |
| Block | Supplemental Punctuation | General Punctuation |
| Script | Zyyy | Zyyy |
| General Category | Dash Punctuation (Pd) | Other Punctuation (Po) |
| Bidirectional | ON | ON |
Encoding Comparison
| Format | 2E40 | 2026 |
|---|---|---|
| Unicode | U+2E40 | U+2026 |
| HTML Decimal | ⹀ | … |
| HTML Hex | ⹀ | … |
| CSS | \2E40 | \2026 |
| JavaScript | \u{2E40} | \u{2026} |
| Python | \u2e40 | \u2026 |
| UTF-8 | e2 b9 80 | e2 80 a6 |
How to Distinguish
Both Double Hyphen and Horizontal Ellipsis 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.