Digit Two vs Left Curly Bracket
VS
Property Comparison
| Property | 2 0032 | { 007B |
|---|---|---|
| Name | Digit Two | Left Curly Bracket |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Open Punctuation (Ps) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | 0032 | 007B |
|---|---|---|
| Unicode | U+0032 | U+007B |
| HTML Decimal | 2 | { |
| HTML Hex | 2 | { |
| CSS | \0032 | \007B |
| JavaScript | \u{32} | \u{7B} |
| Python | \u0032 | \u007b |
| UTF-8 | 32 | 7b |
How to Distinguish
Both Digit Two and Left Curly Bracket belong to the Latin Extended category and the Basic Latin 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.