Digit Zero vs Latin Capital Letter O
VS
Property Comparison
| Property | 0 0030 | O 004F |
|---|---|---|
| Name | Digit Zero | Latin Capital Letter O |
| Category | Latin Extended | Latin Extended |
| Block | Basic Latin | Basic Latin |
| Script | Zyyy | Latn |
| General Category | Decimal Number (Nd) | Uppercase Letter (Lu) |
| Bidirectional | EN | L |
Encoding Comparison
| Format | 0030 | 004F |
|---|---|---|
| Unicode | U+0030 | U+004F |
| HTML Decimal | 0 | O |
| HTML Hex | 0 | O |
| CSS | \0030 | \004F |
| JavaScript | \u{30} | \u{4F} |
| Python | \u0030 | \u004f |
| UTF-8 | 30 | 4f |
How to Distinguish
Both Digit Zero and Latin Capital Letter O 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.