DevKits

ASCII 218

Character 218 (Ú)

Latin-1 Supplement

Latin capital letter with diacritic. Used in Northern European and Icelandic alphabets.

Common uses & context

Decimal 218 (0xDA) is Character 218, 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 11011010.

This is where single-byte ASCII ends and encoding matters. In Latin-1 (ISO-8859-1) 'Ú' is the single byte 0xDA. In UTF-8 — today's default for the web — the same character is the multi-byte sequence 0xC3 0x9A. 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+00DA, and in HTML you can write it as Ú.

All encodings at a glance

Decimal218
Hexadecimal0xDA
Octal0332
Binary11011010
HTML numeric entityÚ
URL encoding%DA
UTF-8 bytes0xC3 0x9A

Code snippets

JavaScript

String.fromCharCode(218); // "Ú"
218.toString(16); // "da"

Python

chr(218)           # control char Ú
ord(chr(218))      # 218
hex(218)           # '0xda'

HTML

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

Programming notes

  • Single byte 0xDA in Latin-1, but the multi-byte sequence 0xC3 0x9A in UTF-8 — never assume one byte per character above code 127.
  • Unicode code point U+00DA; HTML numeric entity &#218;.
  • 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+00DA. In UTF-8 it encodes to the byte sequence 0xC3 0x9A. In legacy Latin-1 (ISO-8859-1) it is a single byte 0xDA, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Frequently asked questions

What character is ASCII code 218?

ASCII code 218 is the character 'Ú' (Character 218). In hexadecimal it is 0xDA, in octal 0332, and in binary 11011010.

What is 0xDA in ASCII?

Hexadecimal 0xDA equals decimal 218, which is the character 'Ú' (Character 218). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0xDA = 218) and look up that code point.

How do I write the character with code 218 in code?

In JavaScript use String.fromCharCode(218); in Python use chr(218); in HTML use the numeric entity &#218;. In a URL it is percent-encoded as %DA, and in UTF-8 it is stored as the byte sequence 0xC3 0x9A.

Is 'Ú' part of standard ASCII?

No. Standard ASCII covers codes 0–127 only. 'Ú' is code 218, part of the Latin-1 Supplement (128–255, sometimes called "extended ASCII"). It is a single byte 0xDA in Latin-1 but a multi-byte sequence (0xC3 0x9A) in UTF-8.

Nearby codes

Encode & convert this character