DevKits

ASCII 154

Character 154 (š)

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

Decimal154
Hexadecimal0x9A
Octal0232
Binary10011010
HTML numeric entityš
URL encoding%9A
UTF-8 bytes0xC2 0x9A

Code snippets

JavaScript

String.fromCharCode(154); // "š"
154.toString(16); // "9a"

Python

chr(154)           # control char š
ord(chr(154))      # 154
hex(154)           # '0x9a'

HTML

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

Unicode & UTF-8 note

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

Nearby codes