SymbolFYI

En Dash vs Non-Breaking Hyphen

En Dash
2013
View details →
Non-Breaking Hyphen
2011
View details →
VS

Property Comparison

Property – 2013 ‑ 2011
Name En Dash Non-Breaking Hyphen
Category Dashes & Hyphens Dashes & Hyphens
Block General Punctuation General Punctuation
Script Zyyy Zyyy
General Category Dash Punctuation (Pd) Dash Punctuation (Pd)
Bidirectional ON ON

Encoding Comparison

Format 2013 2011
Unicode U+2013 U+2011
HTML Decimal – ‑
HTML Hex – ‑
CSS \2013 \2011
JavaScript \u{2013} \u{2011}
Python \u2013 \u2011
UTF-8 e2 80 93 e2 80 91

How to Distinguish

Both En Dash and Non-Breaking Hyphen belong to the Dashes & Hyphens category and the General Punctuation block. Compare their codepoints and visual rendering to distinguish them.

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

Related Comparisons

– En Dash details ‑ Non-Breaking Hyphen details All Comparisons