Š

ASCII Code 138

Latin capital letter S with caron

About This Character

ASCII code 138 (0x8A) represents the Latin capital 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 138
Octal 212
Hexadecimal 0x8A
Binary 10001010
HTML Code Š
HTML Entity
Unicode U+008A
Unicode Name LATIN CAPITAL LETTER S WITH CARON
URL Escape %8A
Quoted-Printable =8A
UTF-8 (Hex) C5 A0
Category Extended — Miscellaneous Extended

How to Type in Code

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

See Also

Copied!