DIGIT ONE vs LATIN CAPITAL LETTER I

1
DIGIT ONE
U+0031
View details →
I
LATIN CAPITAL LETTER I
U+0049
View details →
VS

Property Comparison

Property 1 U+0031 I U+0049
Name DIGIT ONE LATIN CAPITAL LETTER I
Block Basic Latin Basic Latin
Script Zyyy Latn
Category Decimal Number (Nd) Uppercase Letter (Lu)
Bidirectional EN L

Encoding Comparison

Format U+0031 U+0049
unicode U+0031 U+0049
decimal 49 73
htmldecimal 1 I
htmlhex 1 I
css \0031 \0049
javascript \u{31} \u{49}
python \u0031 \u0049
java \u0031 \u0049
go \u0031 \u0049
ruby \u{31} \u{49}
rust \u{31} \u{49}
ccpp \u0031 \u0049
urlencoded 1 I
utf8bytes 31 49
utf16bebytes 00 31 00 49
utf32bebytes 00 00 00 31 00 00 00 49

How to Distinguish

Both characters are in the Basic Latin block but use different scripts: DIGIT ONE uses Zyyy, while LATIN CAPITAL LETTER I uses Latn.

Tip: Paste the character into a hex editor or use charCodeAt() in JavaScript to check the actual codepoint.

Related Comparisons

1 DIGIT ONE details I LATIN CAPITAL LETTER I details All Comparisons