DevKits

ASCII 240

Character 240 (ð)

Latin-1 Supplement

Latin small letter ð. Common in Western European languages.

All encodings at a glance

Decimal240
Hexadecimal0xF0
Octal0360
Binary11110000
HTML numeric entityð
URL encoding%F0
UTF-8 bytes0xC3 0xB0

Code snippets

JavaScript

String.fromCharCode(240); // "ð"
240.toString(16); // "f0"

Python

chr(240)           # control char ð
ord(chr(240))      # 240
hex(240)           # '0xf0'

HTML

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

Unicode & UTF-8 note

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

Nearby codes