—
Em dash
ExtendedASCII 151 | Hex 0x97 | U+0097
ASCII Code
Decimal
151
Hexadecimal
0x97
Octal
227
Binary
1001 0111
How to Type
Windows Alt CodeAlt + 151
HTML Entity
—
Unicode InputU+0097
Character in Different Encodings
| Encoding | Code | Symbol | Name |
|---|---|---|---|
| Code page 437 | 151 | ù | Latin small letter u with grave |
| ISO-8859-1 | 151 | - | Unused |
| ISO-8859-2 | 151 | - | Unused |
| ISO-8859-3 | 151 | - | Unused |
| ISO-8859-4 | 151 | - | Unused |
| ISO-8859-5 | 151 | - | Unused |
| ISO-8859-6 | 151 | - | Unused |
| ISO-8859-7 | 151 | - | Unused |
| ISO-8859-8 | 151 | - | Unused |
| ISO-8859-9 | 151 | - | Unused |
| ISO-8859-10 | 151 | - | Unused |
| ISO-8859-11 | 151 | - | Unused |
| Windows-1250 | 151 | — | Em dash |
| Windows-1251 | 151 | — | Em dash |
| Windows-1252 | 151 | — | Em dash |
| Windows-1253 | 151 | — | Em dash |
| Windows-1254 | 151 | — | Em dash |
| Windows-1255 | 151 | — | Em dash |
| Windows-1256 | 151 | — | Em dash |
| Windows-1257 | 151 | — | Em dash |
| Windows-1258 | 151 | — | Em dash |
Frequently Asked Questions
What is ASCII code 151?
ASCII code 151 represents the Em dash character. In hexadecimal it is 0x97, in binary 1001 0111, and in octal 227. This is an extended ASCII character whose meaning varies by encoding.
How do I type ASCII 151 on a keyboard?
On Windows, hold Alt and type 151 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity — or —.