SymbolFYI

Digit Four vs Exclamation Mark

4
Digit Four
0034
View details →
!
Exclamation Mark
0021
View details →
VS

Property Comparison

Property 4 0034 ! 0021
Name Digit Four 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 0034 0021
Unicode U+0034 U+0021
HTML Decimal 4 !
HTML Hex 4 !
CSS \0034 \0021
JavaScript \u{34} \u{21}
Python \u0034 \u0021
UTF-8 34 21

How to Distinguish

Both Digit Four 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

4 Digit Four details ! Exclamation Mark details All Comparisons