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