¤

ASCII Code 164

Currency sign

About This Character

ASCII code 164 (0xA4) represents the Currency sign character in the extended ASCII table (128–255). It is a widely recognized symbol used in international commerce, intellectual property, or mathematical notation. 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 164
Octal 244
Hexadecimal 0xA4
Binary 10100100
HTML Code ¤
HTML Entity ¤
Unicode U+00A4
Unicode Name CURRENCY SIGN
URL Escape %A4
Quoted-Printable =A4
UTF-8 (Hex) C2 A4
Category Extended — Symbols & Signs

How to Type in Code

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

See Also

Copied!