SymbolFYI

Digit Two vs Exclamation Mark

2
Digit Two
0032
View details →
!
Exclamation Mark
0021
View details →
VS

Property Comparison

Property 2 0032 ! 0021
Name Digit Two Exclamation Mark
Category Latin Extended Latin Extended
Block Basic Latin Basic Latin
Script Zyyy Zyyy
General Category Decimal Number (Nd) Other Punctuation (Po)
Bidirectional EN ON

Encoding Comparison

Format 0032 0021
Unicode U+0032 U+0021
HTML Decimal 2 !
HTML Hex 2 !
CSS \0032 \0021
JavaScript \u{32} \u{21}
Python \u0032 \u0021
UTF-8 32 21

How to Distinguish

Both Digit Two and Exclamation Mark 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

2 Digit Two details ! Exclamation Mark details All Comparisons