ASCII Code 240 · Unicode U+00F0 · Hex 0xF0
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.
| ASCII Code | 240 |
| Hexadecimal | 0xF0 |
| Octal | 360 |
| Binary | 11110000 |
| Unicode | U+00F0 |
| Unicode Name | LATIN SMALL LETTER ETH |
| HTML Numeric | ð |
| HTML Entity | ð |
| URL Escape | %F0 |
| UTF-8 (Hex) | C3 B0 |
| Quoted-Printable | =F0 |
// Character literal
let char = 'ð';
// Using char code
let char2 = String.fromCharCode(240);
// Unicode escape
let char3 = '\u00F0'; # Character literal
char = 'ð'
# Using chr()
char = chr(240)
# Using ord() to get code
code = ord('ð') # Returns 240 <!-- Direct character -->
ð
<!-- HTML entity (numeric) -->
ð
<!-- Hex entity -->
ð // Character literal
char c = 'ð';
// Using cast
char c2 = (char)240;
// To get code from char
int code = (int)'ð'; // Returns 240