þ

ASCII Code 254

Latin small letter thorn

About This Character

ASCII code 254 (0xFE) represents the Latin small letter thorn character in the extended ASCII table (128–255). It is a Latin accented character commonly used in European languages such as French, German, Spanish, Portuguese, and Scandinavian languages. 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 254
Octal 376
Hexadecimal 0xFE
Binary 11111110
HTML Code þ
HTML Entity þ
Unicode U+00FE
Unicode Name LATIN SMALL LETTER THORN
URL Escape %FE
Quoted-Printable =FE
UTF-8 (Hex) C3 BE
Category Extended — Latin Accented Letters

How to Type in Code

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

See Also

Copied!