SymbolFYI

Digit One vs Digit Zero

1
Digit One
0031
View details →
0
Digit Zero
0030
View details →
VS

Property Comparison

Property 1 0031 0 0030
Name Digit One Digit Zero
Category Latin Extended Latin Extended
Block Basic Latin Basic Latin
Script Zyyy Zyyy
General Category Decimal Number (Nd) Decimal Number (Nd)
Bidirectional EN EN

Encoding Comparison

Format 0031 0030
Unicode U+0031 U+0030
HTML Decimal 1 0
HTML Hex 1 0
CSS \0031 \0030
JavaScript \u{31} \u{30}
Python \u0031 \u0030
UTF-8 31 30

How to Distinguish

Both Digit One and Digit Zero 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.

Related Comparisons

1 Digit One details 0 Digit Zero details All Comparisons