TILDE vs TILDE OPERATOR

~
TILDE
U+007E
View details →
TILDE OPERATOR
U+223C
View details →
VS

Property Comparison

Property ~ U+007E ∼ U+223C
Name TILDE TILDE OPERATOR
Block Basic Latin Mathematical Operators
Script Zyyy Zyyy
Category Math Symbol (Sm) Math Symbol (Sm)
Bidirectional ON ON

Encoding Comparison

Format U+007E U+223C
unicode U+007E U+223C
decimal 126 8764
htmldecimal ~ ∼
htmlhex ~ ∼
css \007E \223C
javascript \u{7E} \u{223C}
python \u007e \u223c
java \u007E \u223C
go \u007E \u223C
ruby \u{7E} \u{223C}
rust \u{7E} \u{223C}
ccpp \u007e \u223c
urlencoded ~ %E2%88%BC
utf8bytes 7e e2 88 bc
utf16bebytes 00 7e 22 3c
utf32bebytes 00 00 00 7e 00 00 22 3c

How to Distinguish

Both characters use the Zyyy script but are in different blocks: TILDE in Basic Latin and TILDE OPERATOR in Mathematical Operators.

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

~ TILDE details ∼ TILDE OPERATOR details All Comparisons