ASCII 216
Character 216 (Ø)
Latin-1 Supplement
Latin capital letter with diacritic. Used in Northern European and Icelandic alphabets.
Common uses & context
Decimal 216 (0xD8) is Character 216, part of the Latin-1 Supplement (128–255). Latin capital letter with diacritic. Used in Northern European and Icelandic alphabets. It renders as 'Ø' and its binary byte is 11011000.
This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'Ø' is the single byte 0xD8. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC3 0x98. Treating a Latin-1 byte as UTF-8 (or vice versa) is the usual reason accented letters and symbols turn into mojibake like é or €. The Unicode code point is U+00D8, and in HTML you can write it as Ø.
All encodings at a glance
| Decimal | 216 |
| Hexadecimal | 0xD8 |
| Octal | 0330 |
| Binary | 11011000 |
| HTML numeric entity | Ø |
| URL encoding | %D8 |
| UTF-8 bytes | 0xC3 0x98 |
Code snippets
JavaScript
String.fromCharCode(216); // "Ø"
216.toString(16); // "d8"Python
chr(216) # control char Ø
ord(chr(216)) # 216
hex(216) # '0xd8'HTML
Ø <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Single byte 0xD8 in Latin-1, but the multi-byte sequence 0xC3 0x98 in UTF-8 — never assume one byte per character above code 127.
- ▸Unicode code point U+00D8; HTML numeric entity Ø.
- ▸If 'Ø' shows as mojibake, the encoding declared and the encoding used disagree — align both on UTF-8.
Unicode & UTF-8 note
In Unicode this is U+00D8. In UTF-8 it encodes to the byte sequence 0xC3 0x98. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xD8, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.
Frequently asked questions
What character is ASCII code 216?
ASCII code 216 is the character 'Ø' (Character 216). In hexadecimal it is 0xD8, in octal 0330, and in binary 11011000.
What is 0xD8 in ASCII?
Hexadecimal 0xD8 equals decimal 216, which is the character 'Ø' (Character 216). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xD8 = 216) and look up that code point.
How do I write the character with code 216 in code?
In JavaScript use String.fromCharCode(216); in Python use chr(216); in HTML use the numeric entity Ø. In a URL it is percent-encoded as %D8, and in UTF-8 it is stored as the byte sequence 0xC3 0x98.
Is 'Ø' part of standard ASCII?
No. Standard ASCII covers codes 0–127 only. 'Ø' is code 216, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xD8 in Latin-1 but a multi-byte sequence (0xC3 0x98) in UTF-8.