DevKits

ASCII 209

Character 209 (Ñ)

Latin-1 Supplement

Latin capital letter Ñ. Common in Western European languages (French, German, Spanish, Portuguese).

Common uses & context

Decimal 209 (0xD1) is Character 209, 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 11010001.

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

All encodings at a glance

Decimal209
Hexadecimal0xD1
Octal0321
Binary11010001
HTML numeric entityÑ
URL encoding%D1
UTF-8 bytes0xC3 0x91

Code snippets

JavaScript

String.fromCharCode(209); // "Ñ"
209.toString(16); // "d1"

Python

chr(209)           # control char Ñ
ord(chr(209))      # 209
hex(209)           # '0xd1'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 209?

ASCII code 209 is the character 'Ñ' (Character 209). In hexadecimal it is 0xD1, in octal 0321, and in binary 11010001.

What is 0xD1 in ASCII?

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

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

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

Is 'Ñ' part of standard ASCII?

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

Nearby codes

Encode & convert this character