DevKits

ASCII 221

Character 221 (Ý)

Latin-1 Supplement

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

Common uses & context

Decimal 221 (0xDD) is Character 221, 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 11011101.

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

All encodings at a glance

Decimal221
Hexadecimal0xDD
Octal0335
Binary11011101
HTML numeric entityÝ
URL encoding%DD
UTF-8 bytes0xC3 0x9D

Code snippets

JavaScript

String.fromCharCode(221); // "Ý"
221.toString(16); // "dd"

Python

chr(221)           # control char Ý
ord(chr(221))      # 221
hex(221)           # '0xdd'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 221?

ASCII code 221 is the character 'Ý' (Character 221). In hexadecimal it is 0xDD, in octal 0335, and in binary 11011101.

What is 0xDD in ASCII?

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

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

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

Is 'Ý' part of standard ASCII?

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

Nearby codes

Encode & convert this character