NO-BREAK SPACE vs NARROW NO-BREAK SPACE

 
NO-BREAK SPACE
U+00A0
View details →
NARROW NO-BREAK SPACE
U+202F
View details →
VS

Property Comparison

Property   U+00A0   U+202F
Name NO-BREAK SPACE NARROW NO-BREAK SPACE
Block Latin-1 Supplement General Punctuation
Script Zyyy Zyyy
Category Space Separator (Zs) Space Separator (Zs)
Bidirectional CS CS

Encoding Comparison

Format U+00A0 U+202F
unicode U+00A0 U+202F
decimal 160 8239
htmldecimal    
htmlhex    
css \00A0 \202F
javascript \u{A0} \u{202F}
python \u00a0 \u202f
java \u00A0 \u202F
go \u00A0 \u202F
ruby \u{A0} \u{202F}
rust \u{A0} \u{202F}
ccpp \u00a0 \u202f
urlencoded %C2%A0 %E2%80%AF
utf8bytes c2 a0 e2 80 af
utf16bebytes 00 a0 20 2f
utf32bebytes 00 00 00 a0 00 00 20 2f
htmlentity  

How to Distinguish

Both characters use the Zyyy script but are in different blocks: NO-BREAK SPACE in Latin-1 Supplement and NARROW NO-BREAK SPACE in General Punctuation.

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

Related Comparisons

  NO-BREAK SPACE details   NARROW NO-BREAK SPACE details All Comparisons