DevKits

ASCII 252

Character 252 (ü)

Latin-1 Supplement

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

Common uses & context

Decimal 252 (0xFC) is Character 252, 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 11111100.

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

All encodings at a glance

Decimal252
Hexadecimal0xFC
Octal0374
Binary11111100
HTML numeric entityü
URL encoding%FC
UTF-8 bytes0xC3 0xBC

Code snippets

JavaScript

String.fromCharCode(252); // "ü"
252.toString(16); // "fc"

Python

chr(252)           # control char ü
ord(chr(252))      # 252
hex(252)           # '0xfc'

HTML

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

Programming notes

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

Frequently asked questions

What character is ASCII code 252?

ASCII code 252 is the character 'ü' (Character 252). In hexadecimal it is 0xFC, in octal 0374, and in binary 11111100.

What is 0xFC in ASCII?

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

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

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

Is 'ü' part of standard ASCII?

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

Nearby codes

Encode & convert this character