SymbolFYI

Digit Two vs Tilde

2
Digit Two
0032
View details →
~
Tilde
007E
View details →
VS

Property Comparison

Property 2 0032 ~ 007E
Name Digit Two Tilde
Category Latin Extended Latin Extended
Block Basic Latin Basic Latin
Script Zyyy Zyyy
General Category Decimal Number (Nd) Math Symbol (Sm)
Bidirectional EN ON

Encoding Comparison

Format 0032 007E
Unicode U+0032 U+007E
HTML Decimal 2 ~
HTML Hex 2 ~
CSS \0032 \007E
JavaScript \u{32} \u{7E}
Python \u0032 \u007e
UTF-8 32 7e

How to Distinguish

Both Digit Two and Tilde 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 ~ Tilde details All Comparisons