ZERO WIDTH SPACE vs ZERO WIDTH NO-BREAK SPACE

ZERO WIDTH SPACE
U+200B
View details →

ZERO WIDTH NO-BREAK SPACE
U+FEFF
View details →
VS

Property Comparison

Property ​ U+200B  U+FEFF
Name ZERO WIDTH SPACE ZERO WIDTH NO-BREAK SPACE
Block General Punctuation Arabic Presentation Forms-B
Script Zyyy Zyyy
Category Format (Cf) Format (Cf)
Bidirectional BN BN

Encoding Comparison

Format U+200B U+FEFF
unicode U+200B U+FEFF
decimal 8203 65279
htmldecimal ​ 
htmlhex ​ 
css \200B \FEFF
javascript \u{200B} \u{FEFF}
python \u200b \ufeff
java \u200B \uFEFF
go \u200B \uFEFF
ruby \u{200B} \u{FEFF}
rust \u{200B} \u{FEFF}
ccpp \u200b \ufeff
urlencoded %E2%80%8B %EF%BB%BF
utf8bytes e2 80 8b ef bb bf
utf16bebytes 20 0b fe ff
utf32bebytes 00 00 20 0b 00 00 fe ff

How to Distinguish

Both characters use the Zyyy script but are in different blocks: ZERO WIDTH SPACE in General Punctuation and ZERO WIDTH NO-BREAK SPACE in Arabic Presentation Forms-B.

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

Related Comparisons

​ ZERO WIDTH SPACE details  ZERO WIDTH NO-BREAK SPACE details All Comparisons