š

ASCII Code 154

Latin small letter s with caron

About This Character

ASCII code 154 (0x9A) represents the Latin small letter s with caron 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 154
Octal 232
Hexadecimal 0x9A
Binary 10011010
HTML Code š
HTML Entity
Unicode U+009A
Unicode Name LATIN SMALL LETTER S WITH CARON
URL Escape %9A
Quoted-Printable =9A
UTF-8 (Hex) C5 A1
Category Extended — Miscellaneous Extended

How to Type in Code

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

See Also

Copied!