—
U+2014 · EM DASH
Em Dash
| UTF-8 | E2 80 94 | 3 bytes |
|---|---|---|
| UTF-16 | 2014 | 1 code unit |
| UTF-32 | 00002014 | 4 bytes |
| HTML named | — | named character reference |
| HTML decimal | — | |
| HTML hex | — | |
| CSS | \2014 | in content: "…" |
| JavaScript | \u2014 | |
| JSON | \u2014 | |
| Python | \u2014 | |
| Python | \N{EM DASH} | by name |
| Java / C# | \u2014 | |
| C / C++ | \u2014 | universal character name |
| Rust / Swift / PHP | \u{2014} | |
| Go | \u2014 | |
| Ruby | \u2014 | |
| Excel / Sheets | =UNICHAR(8212) | |
| URL-encoded | %E2%80%94 | percent-encoded UTF-8 |
§
Looks similar
Characters that Unicode’s security data (UTS #39 confusables) lists as visually confusable with this one. Useful for spotting lookalike spoofing in URLs and usernames.
U+2015―Horizontal Bar
U+2500─Box Drawings Light Horizontal
U+2501━Box Drawings Heavy Horizontal
U+30FCーKatakana-Hiragana Prolonged Sound Mark
U+3161ㅡHangul Letter Eu
U+FF0D-Fullwidth Hyphen-Minus
U+1173ᅳHangul Jungseong Eu
U+2F00⼀Kangxi Radical One
U+31D0㇐CJK Stroke H
U+4E00一CJK Unified Ideograph-4e00
U+A7F7ꟷLatin Epigraphic Letter Sideways I
§
Characters built on —
U+FE58﹘Small Em Dash
U+FE31︱Presentation Form for Vertical Em Dash
U+200ELRMLeft-To-Right Mark
U+200FRLMRight-To-Left Mark
U+2010‐Hyphen
U+2011‑Non-Breaking Hyphen
U+2012‒Figure Dash
U+2013–En Dash
U+2015―Horizontal Bar
U+2016‖Double Vertical Line
U+2017‗Double Low Line
U+2018‘Left Single Quotation Mark
U+2019’Right Single Quotation Mark
U+201A‚Single Low-9 Quotation Mark