Double Hyphen vs Right Square Bracket With Double Stroke
VS
Property Comparison
| Property | ⹀ 2E40 | ⹘ 2E58 |
|---|---|---|
| Name | Double Hyphen | Right Square Bracket With Double Stroke |
| Category | Punctuation | Punctuation |
| Block | Supplemental Punctuation | Supplemental Punctuation |
| Script | Zyyy | Zyyy |
| General Category | Dash Punctuation (Pd) | Close Punctuation (Pe) |
| Bidirectional | ON | ON |
Encoding Comparison
| Format | 2E40 | 2E58 |
|---|---|---|
| Unicode | U+2E40 | U+2E58 |
| HTML Decimal | ⹀ | ⹘ |
| HTML Hex | ⹀ | ⹘ |
| CSS | \2E40 | \2E58 |
| JavaScript | \u{2E40} | \u{2E58} |
| Python | \u2e40 | \u2e58 |
| UTF-8 | e2 b9 80 | e2 b9 98 |
How to Distinguish
Both Double Hyphen and Right Square Bracket With Double Stroke belong to the Punctuation category and the Supplemental Punctuation block. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.