ş is the Unicode character LATIN SMALL LETTER S WITH CEDILLA, code point U+015F (decimal 351) in the Latin Extended-A block, added in Unicode 1.1. In HTML write ş, and in UTF-8 it is the 2 bytes C5 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+015F |
| Decimal | 351 |
| UTF-8 bytes | C5 9F |
| UTF-16 (big-endian) | 015F |
| UTF-32 | 0000015F |
| HTML decimal | ş |
| HTML hex | ş |
| HTML named | ş |
| CSS | \15F |
| JavaScript | \u015F |
| JSON | \u015F |
| Python | \u015F |
| Python by name | \N{LATIN SMALL LETTER S WITH CEDILLA} |
| Java, C# | \u015F |
| Rust, Swift | \u{15F} |
| Go, C, C++ | \u015F |
| URL (percent-encoded) | %C5%9F |
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 SMALL LETTER S WITH CEDILLA |
| Code point | U+015F (decimal 351) |
| Block | Latin Extended-A (U+0100–U+017F) |
| General category | Ll: Lowercase letter |
| Script | Latin |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
LATIN SMALL LETTER S WITH CEDILLA is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+015F. Search and comparison should normalise first, or the two spellings will not match.
Upper and lower case
- Ş U+015E Latin Capital Letter S With Cedilla — Uppercase
Nearby in Latin Extended-A
- ŗ U+0157 Latin Small Letter R With Cedilla
- Ř 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+0160 Latin Capital Letter S With Caron
- š 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
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+015F?
- C5 9F (hex), 2 bytes. In a URL it is %C5%9F.
- How do I write U+015F in JavaScript or Python?
- JavaScript: \u015F. Python: \u015F.
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