શ is the Unicode character GUJARATI LETTER SHA, code point U+0AB6 (decimal 2742) in the Gujarati block, added in Unicode 1.1. In HTML write શ, and in UTF-8 it is the 3 bytes E0 AA B6.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0AB6 |
| Decimal | 2742 |
| UTF-8 bytes | E0 AA B6 |
| UTF-16 (big-endian) | 0AB6 |
| UTF-32 | 00000AB6 |
| HTML decimal | શ |
| HTML hex | શ |
| CSS | \AB6 |
| JavaScript | \u0AB6 |
| JSON | \u0AB6 |
| Python | \u0AB6 |
| Python by name | \N{GUJARATI LETTER SHA} |
| Java, C# | \u0AB6 |
| Rust, Swift | \u{AB6} |
| Go, C, C++ | \u0AB6 |
| URL (percent-encoded) | %E0%AA%B6 |
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 | GUJARATI LETTER SHA |
| Code point | U+0AB6 (decimal 2742) |
| Block | Gujarati (U+0A80–U+0AFF) |
| General category | Lo: Other letter |
| Script | Gujarati |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Gujarati
- બ U+0AAC Gujarati Letter Ba
- ભ U+0AAD Gujarati Letter Bha
- મ U+0AAE Gujarati Letter Ma
- ય U+0AAF Gujarati Letter Ya
- ર U+0AB0 Gujarati Letter Ra
- લ U+0AB2 Gujarati Letter La
- ળ U+0AB3 Gujarati Letter Lla
- વ U+0AB5 Gujarati Letter Va
- ષ U+0AB7 Gujarati Letter Ssa
- સ U+0AB8 Gujarati Letter Sa
- હ U+0AB9 Gujarati Letter Ha
- U+0ABC Gujarati Sign Nukta
- ઽ U+0ABD Gujarati Sign Avagraha
- U+0ABE Gujarati Vowel Sign Aa
- U+0ABF Gujarati Vowel Sign I
- U+0AC0 Gujarati Vowel Sign Ii
All 91 characters: Gujarati.
Official reference
Questions people ask
- What is the HTML code for શ?
- Use શ (decimal) or શ (hex).
- What is the UTF-8 encoding of U+0AB6?
- E0 AA B6 (hex), 3 bytes. In a URL it is %E0%AA%B6.
- How do I write U+0AB6 in JavaScript or Python?
- JavaScript: \u0AB6. Python: \u0AB6.
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