ASCII 212
Character 212 (Ô)
Latin-1 Supplement
Latin capital letter Ô. Common in Western European languages (French, German, Spanish, Portuguese).
Common uses & context
Decimal 212 (0xD4) is Character 212, part of the Latin-1 Supplement (128–255). Latin capital letter Ô. Common in Western European languages (French, German, Spanish, Portuguese). It renders as 'Ô' and its binary byte is 11010100.
This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'Ô' is the single byte 0xD4. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC3 0x94. 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+00D4, and in HTML you can write it as Ô.
All encodings at a glance
| Decimal | 212 |
| Hexadecimal | 0xD4 |
| Octal | 0324 |
| Binary | 11010100 |
| HTML numeric entity | Ô |
| URL encoding | %D4 |
| UTF-8 bytes | 0xC3 0x94 |
Code snippets
JavaScript
String.fromCharCode(212); // "Ô"
212.toString(16); // "d4"Python
chr(212) # control char Ô
ord(chr(212)) # 212
hex(212) # '0xd4'HTML
Ô <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Single byte 0xD4 in Latin-1, but the multi-byte sequence 0xC3 0x94 in UTF-8 — never assume one byte per character above code 127.
- ▸Unicode code point U+00D4; 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+00D4. In UTF-8 it encodes to the byte sequence 0xC3 0x94. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xD4, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.
Frequently asked questions
What character is ASCII code 212?
ASCII code 212 is the character 'Ô' (Character 212). In hexadecimal it is 0xD4, in octal 0324, and in binary 11010100.
What is 0xD4 in ASCII?
Hexadecimal 0xD4 equals decimal 212, which is the character 'Ô' (Character 212). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xD4 = 212) and look up that code point.
How do I write the character with code 212 in code?
In JavaScript use String.fromCharCode(212); in Python use chr(212); in HTML use the numeric entity Ô. In a URL it is percent-encoded as %D4, and in UTF-8 it is stored as the byte sequence 0xC3 0x94.
Is 'Ô' part of standard ASCII?
No. Standard ASCII covers codes 0–127 only. 'Ô' is code 212, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xD4 in Latin-1 but a multi-byte sequence (0xC3 0x94) in UTF-8.