π is the Unicode character SHARADA LETTER AI, code point U+1118E (decimal 70030) in the Sharada block, added in Unicode 6.1. In HTML write 𑆎, and in UTF-8 it is the 4 bytes F0 91 86 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1118E |
| Decimal | 70030 |
| UTF-8 bytes | F0 91 86 8E |
| UTF-16 (big-endian) | D804 DD8E |
| UTF-32 | 0001118E |
| HTML decimal | 𑆎 |
| HTML hex | 𑆎 |
| CSS | \1118E |
| JavaScript | \u{1118E} or \uD804\uDD8E |
| JSON | \uD804\uDD8E |
| Python | \U0001118E |
| Python by name | \N{SHARADA LETTER AI} |
| Java, C# | \uD804\uDD8E |
| Rust, Swift | \u{1118E} |
| Go, C, C++ | \U0001118E |
| URL (percent-encoded) | %F0%91%86%8E |
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 AI |
| Code point | U+1118E (decimal 70030) |
| 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+11186 Sharada Letter Ii
- π U+11187 Sharada Letter U
- π U+11188 Sharada Letter Uu
- π U+11189 Sharada Letter Vocalic R
- π U+1118A Sharada Letter Vocalic Rr
- π U+1118B Sharada Letter Vocalic L
- π U+1118C Sharada Letter Vocalic Ll
- π U+1118D Sharada Letter E
- π 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+11195 Sharada Letter Nga
- π U+11196 Sharada Letter Ca
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+1118E?
- F0 91 86 8E (hex), 4 bytes. In a URL it is %F0%91%86%8E.
- How do I write U+1118E in JavaScript or Python?
- JavaScript: \u{1118E} or \uD804\uDD8E. Python: \U0001118E.
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