REVERSE SOLIDUS vs SET MINUS

\
REVERSE SOLIDUS
U+005C
View details →
SET MINUS
U+2216
View details →
VS

Property Comparison

Property \ U+005C ∖ U+2216
Name REVERSE SOLIDUS SET MINUS
Block Basic Latin Mathematical Operators
Script Zyyy Zyyy
Category Other Punctuation (Po) Math Symbol (Sm)
Bidirectional ON ON

Encoding Comparison

Format U+005C U+2216
unicode U+005C U+2216
decimal 92 8726
htmldecimal \ ∖
htmlhex \ ∖
css \005C \2216
javascript \u{5C} \u{2216}
python \u005c \u2216
java \u005C \u2216
go \u005C \u2216
ruby \u{5C} \u{2216}
rust \u{5C} \u{2216}
ccpp \u005c \u2216
urlencoded %5C %E2%88%96
utf8bytes 5c e2 88 96
utf16bebytes 00 5c 22 16
utf32bebytes 00 00 00 5c 00 00 22 16

How to Distinguish

Both characters use the Zyyy script but are in different blocks: REVERSE SOLIDUS in Basic Latin and SET MINUS in Mathematical Operators.

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

\ REVERSE SOLIDUS details ∖ SET MINUS details All Comparisons