ASCII 161
Inverted Exclamation Mark (¡)
Latin-1 Supplement
Latin-1 character.
All encodings at a glance
| Decimal | 161 |
| Hexadecimal | 0xA1 |
| Octal | 0241 |
| Binary | 10100001 |
| HTML numeric entity | ¡ |
| HTML named entity | ¡ |
| URL encoding | %A1 |
| UTF-8 bytes | 0xC2 0xA1 |
Code snippets
JavaScript
String.fromCharCode(161); // "¡"
161.toString(16); // "a1"Python
chr(161) # control char ¡
ord(chr(161)) # 161
hex(161) # '0xa1'HTML
¡ <!-- named entity -->
¡ <!-- numeric entity -->Unicode & UTF-8 note
In Unicode this is U+00A1. In UTF-8 it encodes to the byte sequence 0xC2 0xA1. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xA1, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.