Digit Four vs Inverted Question Mark
VS
Property Comparison
| Property | 4 0034 | ¿ 00BF |
|---|---|---|
| Name | Digit Four | Inverted Question Mark |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| General Category | Decimal Number (Nd) | Other Punctuation (Po) |
| Bidirectional | EN | ON |
Encoding Comparison
| Format | 0034 | 00BF |
|---|---|---|
| Unicode | U+0034 | U+00BF |
| HTML Decimal | 4 | ¿ |
| HTML Hex | 4 | ¿ |
| CSS | \0034 | \00BF |
| JavaScript | \u{34} | \u{BF} |
| Python | \u0034 | \u00bf |
| UTF-8 | 34 | c2 bf |
How to Distinguish
Both Digit Four and Inverted Question Mark are in the Latin Extended 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.