π is the Unicode character SHARADA LETTER GA, code point U+11193 (decimal 70035) in the Sharada block, added in Unicode 6.1. In HTML write 𑆓, and in UTF-8 it is the 4 bytes F0 91 86 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11193 |
| Decimal | 70035 |
| UTF-8 bytes | F0 91 86 93 |
| UTF-16 (big-endian) | D804 DD93 |
| UTF-32 | 00011193 |
| HTML decimal | 𑆓 |
| HTML hex | 𑆓 |
| CSS | \11193 |
| JavaScript | \u{11193} or \uD804\uDD93 |
| JSON | \uD804\uDD93 |
| Python | \U00011193 |
| Python by name | \N{SHARADA LETTER GA} |
| Java, C# | \uD804\uDD93 |
| Rust, Swift | \u{11193} |
| Go, C, C++ | \U00011193 |
| URL (percent-encoded) | %F0%91%86%93 |
JavaScript and JSON strings store text as UTF-16, so this character takes two code units (a surrogate pair) and "π".length is 2. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | SHARADA LETTER GA |
| Code point | U+11193 (decimal 70035) |
| Block | Sharada (U+11180βU+111DF) |
| General category | Lo: Other letter |
| Script | Sharada |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.1 |
Nearby in Sharada
- π U+1118B Sharada Letter Vocalic L
- π U+1118C Sharada Letter Vocalic Ll
- π U+1118D Sharada Letter E
- π U+1118E Sharada Letter Ai
- π U+1118F Sharada Letter O
- π U+11190 Sharada Letter Au
- π U+11191 Sharada Letter Ka
- π U+11192 Sharada Letter Kha
- π U+11194 Sharada Letter Gha
- π U+11195 Sharada Letter Nga
- π U+11196 Sharada Letter Ca
- π U+11197 Sharada Letter Cha
- π U+11198 Sharada Letter Ja
- π U+11199 Sharada Letter Jha
- π U+1119A Sharada Letter Nya
- π U+1119B Sharada Letter Tta
All 96 characters: Sharada.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑆓 (decimal) or 𑆓 (hex).
- What is the UTF-8 encoding of U+11193?
- F0 91 86 93 (hex), 4 bytes. In a URL it is %F0%91%86%93.
- How do I write U+11193 in JavaScript or Python?
- JavaScript: \u{11193} or \uD804\uDD93. Python: \U00011193.
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