Ÿ

ASCII Code 159

Latin capital letter Y with diaeresis

About This Character

ASCII code 159 (0x9F) represents the Latin capital letter Y with diaeresis character in the extended ASCII table (128–255). It is part of the extended ASCII character set defined by the Windows-1252 (CP-1252) encoding. The extended ASCII range builds upon the original 128-character ASCII set, adding accented letters, currency symbols, typographic marks, and mathematical symbols. These characters are defined by the Windows-1252 (CP-1252) encoding, which is a superset of ISO 8859-1 (Latin-1). In modern web development, UTF-8 encoding is preferred, but understanding extended ASCII remains important for legacy system compatibility and character encoding troubleshooting.

Character Encoding

Decimal 159
Octal 237
Hexadecimal 0x9F
Binary 10011111
HTML Code Ÿ
HTML Entity
Unicode U+009F
Unicode Name LATIN CAPITAL LETTER Y WITH DIAERESIS
URL Escape %9F
Quoted-Printable =9F
UTF-8 (Hex) C5 B8
Category Extended — Miscellaneous Extended

How to Type in Code

JavaScript
// Character literal
let char = 'Ÿ';
// Using char code
let char2 = String.fromCharCode(159);
// Unicode escape
let char3 = '\u009F';
Python
# Character literal
char = 'Ÿ'
# Using chr()
char = chr(159)
# Using ord() to get code
code = ord('Ÿ')  # Returns 159
HTML
<!-- Direct character -->
Ÿ
<!-- HTML entity (numeric) -->
&#159;
<!-- Hex entity -->
&#x9F;
C#
// Character literal
char c = 'Ÿ';
// Using cast
char c2 = (char)159;
// To get code from char
int code = (int)'Ÿ';  // Returns 159

See Also

Copied!