SPACE vs EN SPACE

SPACE
U+0020
View details →
EN SPACE
U+2002
View details →
VS

Property Comparison

Property U+0020   U+2002
Name SPACE EN SPACE
Block Basic Latin General Punctuation
Script Zyyy Zyyy
Category Space Separator (Zs) Space Separator (Zs)
Bidirectional WS WS

Encoding Comparison

Format U+0020 U+2002
unicode U+0020 U+2002
decimal 32 8194
htmldecimal    
htmlhex    
css \0020 \2002
javascript \u{20} \u{2002}
python \u0020 \u2002
java \u0020 \u2002
go \u0020 \u2002
ruby \u{20} \u{2002}
rust \u{20} \u{2002}
ccpp \u0020 \u2002
urlencoded %20 %E2%80%82
utf8bytes 20 e2 80 82
utf16bebytes 00 20 20 02
utf32bebytes 00 00 00 20 00 00 20 02

How to Distinguish

Both characters use the Zyyy script but are in different blocks: SPACE in Basic Latin and EN SPACE in General Punctuation.

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

Related Comparisons

SPACE details   EN SPACE details All Comparisons