DevKits

ASCII 191

Inverted Question Mark (¿)

Latin-1 Supplement

Latin-1 character.

All encodings at a glance

Decimal191
Hexadecimal0xBF
Octal0277
Binary10111111
HTML numeric entity¿
HTML named entity¿
URL encoding%BF
UTF-8 bytes0xC2 0xBF

Code snippets

JavaScript

String.fromCharCode(191); // "¿"
191.toString(16); // "bf"

Python

chr(191)           # control char ¿
ord(chr(191))      # 191
hex(191)           # '0xbf'

HTML

&iquest;   <!-- named entity -->
&#191;   <!-- numeric entity -->

Unicode & UTF-8 note

In Unicode this is U+00BF. In UTF-8 it encodes to the byte sequence 0xC2 0xBF. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xBF, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Nearby codes