Non-breaking space
ASCII code 160 (0xA0) represents the Non-breaking space character in the extended ASCII table (128–255). It is part of the extended ASCII character set defined by the Windows-1252 (CP-1252) encoding. 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 | 160 |
| Octal | 240 |
| Hexadecimal | 0xA0 |
| Binary | 10100000 |
| HTML Code |   |
| HTML Entity | |
| Unicode | U+00A0 |
| Unicode Name | NO-BREAK SPACE |
| URL Escape | %A0 |
| Quoted-Printable | =A0 |
| UTF-8 (Hex) | C2 A0 |
| Category | Extended — Miscellaneous Extended |
// Character literal
let char = ' ';
// Using char code
let char2 = String.fromCharCode(160);
// Unicode escape
let char3 = '\u00A0'; # Character literal
char = ' '
# Using chr()
char = chr(160)
# Using ord() to get code
code = ord(' ') # Returns 160 <!-- Direct character -->
<!-- HTML entity (numeric) -->
 
<!-- Hex entity -->
  // Character literal
char c = ' ';
// Using cast
char c2 = (char)160;
// To get code from char
int code = (int)' '; // Returns 160