DevKits

ASCII 249

Character 249 (ù)

Latin-1 Supplement

Latin small letter with diacritic. Used in Northern European alphabets.

Common uses & context

Decimal 249 (0xF9) is Character 249, part of the Latin-1 Supplement (128–255). Latin small letter with diacritic. Used in Northern European alphabets. It renders as 'ù' and its binary byte is 11111001.

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

All encodings at a glance

Decimal249
Hexadecimal0xF9
Octal0371
Binary11111001
HTML numeric entityù
URL encoding%F9
UTF-8 bytes0xC3 0xB9

Code snippets

JavaScript

String.fromCharCode(249); // "ù"
249.toString(16); // "f9"

Python

chr(249)           # control char ù
ord(chr(249))      # 249
hex(249)           # '0xf9'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 249?

ASCII code 249 is the character 'ù' (Character 249). In hexadecimal it is 0xF9, in octal 0371, and in binary 11111001.

What is 0xF9 in ASCII?

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

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

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

Is 'ù' part of standard ASCII?

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

Nearby codes

Encode & convert this character