स is the Unicode character DEVANAGARI LETTER SA, code point U+0938 (decimal 2360) in the Devanagari block, added in Unicode 1.1. In HTML write स, and in UTF-8 it is the 3 bytes E0 A4 B8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+0938 |
| Decimal | 2360 |
| UTF-8 bytes | E0 A4 B8 |
| UTF-16 (big-endian) | 0938 |
| UTF-32 | 00000938 |
| HTML decimal | स |
| HTML hex | स |
| CSS | \938 |
| JavaScript | \u0938 |
| JSON | \u0938 |
| Python | \u0938 |
| Python by name | \N{DEVANAGARI LETTER SA} |
| Java, C# | \u0938 |
| Rust, Swift | \u{938} |
| Go, C, C++ | \u0938 |
| URL (percent-encoded) | %E0%A4%B8 |
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 | DEVANAGARI LETTER SA |
| Code point | U+0938 (decimal 2360) |
| Block | Devanagari (U+0900–U+097F) |
| General category | Lo: Other letter |
| Script | Devanagari |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Devanagari
- र U+0930 Devanagari Letter Ra
- ऱ U+0931 Devanagari Letter Rra
- ल U+0932 Devanagari Letter La
- ळ U+0933 Devanagari Letter Lla
- ऴ U+0934 Devanagari Letter Llla
- व U+0935 Devanagari Letter Va
- श U+0936 Devanagari Letter Sha
- ष U+0937 Devanagari Letter Ssa
- ह U+0939 Devanagari Letter Ha
- U+093A Devanagari Vowel Sign Oe
- U+093B Devanagari Vowel Sign Ooe
- U+093C Devanagari Sign Nukta
- ऽ U+093D Devanagari Sign Avagraha
- U+093E Devanagari Vowel Sign Aa
- U+093F Devanagari Vowel Sign I
- U+0940 Devanagari Vowel Sign Ii
All 128 characters: Devanagari.
Official reference
Questions people ask
- What is the HTML code for स?
- Use स (decimal) or स (hex).
- What is the UTF-8 encoding of U+0938?
- E0 A4 B8 (hex), 3 bytes. In a URL it is %E0%A4%B8.
- How do I write U+0938 in JavaScript or Python?
- JavaScript: \u0938. Python: \u0938.
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