ñ

ASCII Character: n with tilde

ASCII Code 241 · Unicode U+00F1 · Hex 0xF1

About the n with tilde Character

ASCII code 241 (0xF1) represents the n with tilde 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 241
Hexadecimal 0xF1
Octal 361
Binary 11110001
Unicode U+00F1
Unicode Name LATIN SMALL LETTER N WITH TILDE
HTML Numeric ñ
HTML Entity ñ
URL Escape %F1
UTF-8 (Hex) C3 B1
Quoted-Printable =F1

Source Code Examples

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

Navigate

Copied!