–
U+2013 EN DASH
General Punctuation · Dash punctuation
| Name | EN DASH |
|---|---|
| Code point | U+2013 |
| Decimal | 8211 |
| Block | General Punctuation |
| Category | Dash punctuation (Pd) |
| UTF-8 | E2 80 93 |
| UTF-16 | 2013 |
| UTF-32 | 00002013 |
| HTML | – – – |
| CSS | \2013 |
| JavaScript | \u2013 |
| Python | \u2013 |
| URL-encoded | %E2%80%93 |
Frequently asked questions
What is the character U+2013?
U+2013 – is officially named EN DASH. It belongs to the General Punctuation block and the category Dash punctuation.
How do I type –?
Windows (Word, WordPad): type 2013, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 2013, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 2013. 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 93. In UTF-16: 2013.