π is the Unicode character SHARADA LETTER NGA, code point U+11195 (decimal 70037) in the Sharada block, added in Unicode 6.1. In HTML write 𑆕, and in UTF-8 it is the 4 bytes F0 91 86 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11195 |
| Decimal | 70037 |
| UTF-8 bytes | F0 91 86 95 |
| UTF-16 (big-endian) | D804 DD95 |
| UTF-32 | 00011195 |
| HTML decimal | 𑆕 |
| HTML hex | 𑆕 |
| CSS | \11195 |
| JavaScript | \u{11195} or \uD804\uDD95 |
| JSON | \uD804\uDD95 |
| Python | \U00011195 |
| Python by name | \N{SHARADA LETTER NGA} |
| Java, C# | \uD804\uDD95 |
| Rust, Swift | \u{11195} |
| Go, C, C++ | \U00011195 |
| URL (percent-encoded) | %F0%91%86%95 |
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 NGA |
| Code point | U+11195 (decimal 70037) |
| 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+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+11193 Sharada Letter Ga
- π U+11194 Sharada Letter Gha
- π 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
- π U+1119C Sharada Letter Ttha
- π U+1119D Sharada Letter Dda
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+11195?
- F0 91 86 95 (hex), 4 bytes. In a URL it is %F0%91%86%95.
- How do I write U+11195 in JavaScript or Python?
- JavaScript: \u{11195} or \uD804\uDD95. Python: \U00011195.
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