—
U+2014 EM DASH
General Punctuation · Dash punctuation
| Name | EM DASH |
|---|---|
| Code point | U+2014 |
| Decimal | 8212 |
| Block | General Punctuation |
| Category | Dash punctuation (Pd) |
| UTF-8 | E2 80 94 |
| UTF-16 | 2014 |
| UTF-32 | 00002014 |
| HTML | — — — |
| CSS | \2014 |
| JavaScript | \u2014 |
| Python | \u2014 |
| URL-encoded | %E2%80%94 |
Frequently asked questions
What is the character U+2014?
U+2014 — is officially named EM DASH. It belongs to the General Punctuation block and the category Dash punctuation.
How do I type —?
Windows (Word, WordPad): type 2014, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 2014, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 2014. Or simply copy it from this page.
How do I write — in HTML?
As a numeric character reference — (decimal) or — (hexadecimal). In UTF-8 documents you can also insert the character directly. There is also the named entity —.
How is — encoded in UTF-8?
In UTF-8 the character takes 3 bytes: E2 80 94. In UTF-16: 2014.