DevKits

ASCII 152

Character 152 (˜)

Latin-1 Supplement

Unassigned in Latin-1 / part of the C1 control block. Not used in modern text encoding; browsers accept these code points but they carry no display glyph.

All encodings at a glance

Decimal152
Hexadecimal0x98
Octal0230
Binary10011000
HTML numeric entity˜
URL encoding%98
UTF-8 bytes0xC2 0x98

Code snippets

JavaScript

String.fromCharCode(152); // "˜"
152.toString(16); // "98"

Python

chr(152)           # control char ˜
ord(chr(152))      # 152
hex(152)           # '0x98'

HTML

&#152;   <!-- numeric entity (no named entity for this character) -->

Unicode & UTF-8 note

In Unicode this is U+0098. In UTF-8 it encodes to the byte sequence 0xC2 0x98. In legacy Latin-1 (ISO-8859-1) it is a single byte 0x98, which is why Latin-1 files often appear as mojibake when interpreted as UTF-8.

Nearby codes