Digit Four vs Latin Capital Letter I With Macron
VS
Property Comparison
| Property | 4 0034 | Ī 012A |
|---|---|---|
| Name | Digit Four | Latin Capital Letter I With Macron |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Latin Extended-A |
| Script | Zyyy | Latn |
| General Category | Decimal Number (Nd) | Uppercase Letter (Lu) |
| Bidirectional | EN | L |
Encoding Comparison
| Format | 0034 | 012A |
|---|---|---|
| Unicode | U+0034 | U+012A |
| HTML Decimal | 4 | Ī |
| HTML Hex | 4 | Ī |
| CSS | \0034 | \012A |
| JavaScript | \u{34} | \u{12A} |
| Python | \u0034 | \u012a |
| UTF-8 | 34 | c4 aa |
How to Distinguish
Both Digit Four and Latin Capital Letter I With Macron 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.