En dash
ASCII code 150 (0x96) represents the En dash character in the extended ASCII table (128–255). It is a typographic character used in professional publishing, quotation formatting, and editorial design. The extended ASCII range builds upon the original 128-character ASCII set, adding accented letters, currency symbols, typographic marks, and mathematical symbols. These characters are defined by the Windows-1252 (CP-1252) encoding, which is a superset of ISO 8859-1 (Latin-1). In modern web development, UTF-8 encoding is preferred, but understanding extended ASCII remains important for legacy system compatibility and character encoding troubleshooting.
| Decimal | 150 |
| Octal | 226 |
| Hexadecimal | 0x96 |
| Binary | 10010110 |
| HTML Code | – |
| HTML Entity | — |
| Unicode | U+0096 |
| Unicode Name | EN DASH |
| URL Escape | %96 |
| Quoted-Printable | =96 |
| UTF-8 (Hex) | E2 80 93 |
| Category | Extended — Typographic Characters |
// Character literal
let char = '';
// Using char code
let char2 = String.fromCharCode(150);
// Unicode escape
let char3 = '\u0096'; # Character literal
char = ''
# Using chr()
char = chr(150)
# Using ord() to get code
code = ord('') # Returns 150 <!-- Direct character -->
<!-- HTML entity (numeric) -->
–
<!-- Hex entity -->
– // Character literal
char c = '';
// Using cast
char c2 = (char)150;
// To get code from char
int code = (int)''; // Returns 150