ð

ASCII Code 240

Latin small letter eth

About This Character

ASCII code 240 (0xF0) represents the Latin small letter eth 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 240
Octal 360
Hexadecimal 0xF0
Binary 11110000
HTML Code ð
HTML Entity ð
Unicode U+00F0
Unicode Name LATIN SMALL LETTER ETH
URL Escape %F0
Quoted-Printable =F0
UTF-8 (Hex) C3 B0
Category Extended — Latin Accented Letters

How to Type in Code

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

See Also

Copied!