Š is the Unicode character LATIN CAPITAL LETTER S WITH CARON, code point U+0160 (decimal 352) in the Latin Extended-A block, added in Unicode 1.1. In HTML write Š, and in UTF-8 it is the 2 bytes C5 A0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0160 |
| Decimal | 352 |
| UTF-8 bytes | C5 A0 |
| UTF-16 (big-endian) | 0160 |
| UTF-32 | 00000160 |
| HTML decimal | Š |
| HTML hex | Š |
| HTML named | Š |
| CSS | \160 |
| JavaScript | \u0160 |
| JSON | \u0160 |
| Python | \u0160 |
| Python by name | \N{LATIN CAPITAL LETTER S WITH CARON} |
| Java, C# | \u0160 |
| Rust, Swift | \u{160} |
| Go, C, C++ | \u0160 |
| URL (percent-encoded) | %C5%A0 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | LATIN CAPITAL LETTER S WITH CARON |
| Code point | U+0160 (decimal 352) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Lu: Uppercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
LATIN CAPITAL LETTER S WITH CARON is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+0160. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- š U+0161 Latin Small Letter S With Caron — Lowercase
Nearby in Latin Extended-A
- Ř U+0158 Latin Capital Letter R With Caron
- ř U+0159 Latin Small Letter R With Caron
- Ś U+015A Latin Capital Letter S With Acute
- ś U+015B Latin Small Letter S With Acute
- Ŝ U+015C Latin Capital Letter S With Circumflex
- ŝ U+015D Latin Small Letter S With Circumflex
- Ş U+015E Latin Capital Letter S With Cedilla
- ş U+015F Latin Small Letter S With Cedilla
- š U+0161 Latin Small Letter S With Caron
- Ţ U+0162 Latin Capital Letter T With Cedilla
- ţ U+0163 Latin Small Letter T With Cedilla
- Ť U+0164 Latin Capital Letter T With Caron
- ť U+0165 Latin Small Letter T With Caron
- Ŧ U+0166 Latin Capital Letter T With Stroke
- ŧ U+0167 Latin Small Letter T With Stroke
- Ũ U+0168 Latin Capital Letter U With Tilde
All 128 characters: Latin Extended-A.
Official reference
Questions people ask
- What is the HTML code for Š?
- Use the named entity Š, or Š (decimal) or Š (hex).
- What is the UTF-8 encoding of U+0160?
- C5 A0 (hex), 2 bytes. In a URL it is %C5%A0.
- How do I write U+0160 in JavaScript or Python?
- JavaScript: \u0160. Python: \u0160.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in