DevKits

ASCII 255

Character 255 (ÿ)

Latin-1 Supplement

Latin small letter with diacritic. Used in Northern European alphabets.

All encodings at a glance

Decimal255
Hexadecimal0xFF
Octal0377
Binary11111111
HTML numeric entityÿ
URL encoding%FF
UTF-8 bytes0xC3 0xBF

Code snippets

JavaScript

String.fromCharCode(255); // "ÿ"
255.toString(16); // "ff"

Python

chr(255)           # control char ÿ
ord(chr(255))      # 255
hex(255)           # '0xff'

HTML

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

Unicode & UTF-8 note

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

Nearby codes