π is the Unicode character SHARADA LETTER UU, code point U+11188 (decimal 70024) in the Sharada block, added in Unicode 6.1. In HTML write 𑆈, and in UTF-8 it is the 4 bytes F0 91 86 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11188 |
| Decimal | 70024 |
| UTF-8 bytes | F0 91 86 88 |
| UTF-16 (big-endian) | D804 DD88 |
| UTF-32 | 00011188 |
| HTML decimal | 𑆈 |
| HTML hex | 𑆈 |
| CSS | \11188 |
| JavaScript | \u{11188} or \uD804\uDD88 |
| JSON | \uD804\uDD88 |
| Python | \U00011188 |
| Python by name | \N{SHARADA LETTER UU} |
| Java, C# | \uD804\uDD88 |
| Rust, Swift | \u{11188} |
| Go, C, C++ | \U00011188 |
| URL (percent-encoded) | %F0%91%86%88 |
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 UU |
| Code point | U+11188 (decimal 70024) |
| 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+11180 Sharada Sign Candrabindu
- U+11181 Sharada Sign Anusvara
- U+11182 Sharada Sign Visarga
- π U+11183 Sharada Letter A
- π U+11184 Sharada Letter Aa
- π U+11185 Sharada Letter I
- π U+11186 Sharada Letter Ii
- π U+11187 Sharada Letter U
- π 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+1118E Sharada Letter Ai
- π U+1118F Sharada Letter O
- π U+11190 Sharada Letter Au
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+11188?
- F0 91 86 88 (hex), 4 bytes. In a URL it is %F0%91%86%88.
- How do I write U+11188 in JavaScript or Python?
- JavaScript: \u{11188} or \uD804\uDD88. Python: \U00011188.
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