ASCII 160
Non-Breaking Space (NBSP)
Latin-1 Supplement
Non-breaking space ( ). Prevents an automatic line break at its position; used in HTML to keep phrases like 'Mr. Smith' together.
All encodings at a glance
| Decimal | 160 |
| Hexadecimal | 0xA0 |
| Octal | 0240 |
| Binary | 10100000 |
| HTML numeric entity |   |
| HTML named entity | |
| URL encoding | %A0 |
| UTF-8 bytes | 0xC2 0xA0 |
Code snippets
JavaScript
String.fromCharCode(160); // "NBSP"
160.toString(16); // "a0"Python
chr(160) # control char NBSP
ord(chr(160)) # 160
hex(160) # '0xa0'HTML
<!-- named entity -->
  <!-- numeric entity -->Unicode & UTF-8 note
In Unicode this is U+00A0. In UTF-8 it encodes to the byte sequence 0xC2 0xA0. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xA0, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.