o with stroke
ASCII code 248 (0xF8) represents the o with stroke 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.
| Decimal | 248 |
| Octal | 370 |
| Hexadecimal | 0xF8 |
| Binary | 11111000 |
| HTML Code | ø |
| HTML Entity | ø |
| Unicode | U+00F8 |
| Unicode Name | LATIN SMALL LETTER O WITH STROKE |
| URL Escape | %F8 |
| Quoted-Printable | =F8 |
| UTF-8 (Hex) | C3 B8 |
| Category | Extended — Latin Accented Letters |
// Character literal
let char = 'ø';
// Using char code
let char2 = String.fromCharCode(248);
// Unicode escape
let char3 = '\u00F8'; # Character literal
char = 'ø'
# Using chr()
char = chr(248)
# Using ord() to get code
code = ord('ø') # Returns 248 <!-- Direct character -->
ø
<!-- HTML entity (numeric) -->
ø
<!-- Hex entity -->
ø // Character literal
char c = 'ø';
// Using cast
char c2 = (char)248;
// To get code from char
int code = (int)'ø'; // Returns 248