˜

ASCII Code 152

Small tilde

About This Character

ASCII code 152 (0x98) represents the Small tilde character in the extended ASCII table (128–255). It is part of the extended ASCII character set defined by the Windows-1252 (CP-1252) encoding. 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 152
Octal 230
Hexadecimal 0x98
Binary 10011000
HTML Code ˜
HTML Entity
Unicode U+0098
Unicode Name SMALL TILDE
URL Escape %98
Quoted-Printable =98
UTF-8 (Hex) CB 9C
Category Extended — Miscellaneous Extended

How to Type in Code

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

See Also

Copied!