DevKits

ASCII 242

Character 242 (ò)

Latin-1 Supplement

Latin small letter ò. Common in Western European languages.

All encodings at a glance

Decimal242
Hexadecimal0xF2
Octal0362
Binary11110010
HTML numeric entityò
URL encoding%F2
UTF-8 bytes0xC3 0xB2

Code snippets

JavaScript

String.fromCharCode(242); // "ò"
242.toString(16); // "f2"

Python

chr(242)           # control char ò
ord(chr(242))      # 242
hex(242)           # '0xf2'

HTML

&#242;   <!-- numeric entity (no named entity for this character) -->

Unicode & UTF-8 note

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

Nearby codes