ø

ASCII Character: o with stroke

ASCII Code 248 · Unicode U+00F8 · Hex 0xF8

About the o with stroke Character

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.

Encoding Details

ASCII Code 248
Hexadecimal 0xF8
Octal 370
Binary 11111000
Unicode U+00F8
Unicode Name LATIN SMALL LETTER O WITH STROKE
HTML Numeric ø
HTML Entity ø
URL Escape %F8
UTF-8 (Hex) C3 B8
Quoted-Printable =F8

Source Code Examples

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

Navigate

Copied!