π is the Unicode character SHARADA LETTER TTA, code point U+1119B (decimal 70043) in the Sharada block, added in Unicode 6.1. In HTML write 𑆛, and in UTF-8 it is the 4 bytes F0 91 86 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1119B |
| Decimal | 70043 |
| UTF-8 bytes | F0 91 86 9B |
| UTF-16 (big-endian) | D804 DD9B |
| UTF-32 | 0001119B |
| HTML decimal | 𑆛 |
| HTML hex | 𑆛 |
| CSS | \1119B |
| JavaScript | \u{1119B} or \uD804\uDD9B |
| JSON | \uD804\uDD9B |
| Python | \U0001119B |
| Python by name | \N{SHARADA LETTER TTA} |
| Java, C# | \uD804\uDD9B |
| Rust, Swift | \u{1119B} |
| Go, C, C++ | \U0001119B |
| URL (percent-encoded) | %F0%91%86%9B |
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 TTA |
| Code point | U+1119B (decimal 70043) |
| 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+11193 Sharada Letter Ga
- π 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+1119C Sharada Letter Ttha
- π U+1119D Sharada Letter Dda
- π U+1119E Sharada Letter Ddha
- π U+1119F Sharada Letter Nna
- π U+111A0 Sharada Letter Ta
- π‘ U+111A1 Sharada Letter Tha
- π’ U+111A2 Sharada Letter Da
- π£ U+111A3 Sharada Letter Dha
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+1119B?
- F0 91 86 9B (hex), 4 bytes. In a URL it is %F0%91%86%9B.
- How do I write U+1119B in JavaScript or Python?
- JavaScript: \u{1119B} or \uD804\uDD9B. Python: \U0001119B.
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