π is the Unicode character SHARADA LETTER VOCALIC RR, code point U+1118A (decimal 70026) in the Sharada block, added in Unicode 6.1. In HTML write 𑆊, and in UTF-8 it is the 4 bytes F0 91 86 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1118A |
| Decimal | 70026 |
| UTF-8 bytes | F0 91 86 8A |
| UTF-16 (big-endian) | D804 DD8A |
| UTF-32 | 0001118A |
| HTML decimal | 𑆊 |
| HTML hex | 𑆊 |
| CSS | \1118A |
| JavaScript | \u{1118A} or \uD804\uDD8A |
| JSON | \uD804\uDD8A |
| Python | \U0001118A |
| Python by name | \N{SHARADA LETTER VOCALIC RR} |
| Java, C# | \uD804\uDD8A |
| Rust, Swift | \u{1118A} |
| Go, C, C++ | \U0001118A |
| URL (percent-encoded) | %F0%91%86%8A |
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 VOCALIC RR |
| Code point | U+1118A (decimal 70026) |
| 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+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+11188 Sharada Letter Uu
- π U+11189 Sharada Letter Vocalic R
- π 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
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+1118A?
- F0 91 86 8A (hex), 4 bytes. In a URL it is %F0%91%86%8A.
- How do I write U+1118A in JavaScript or Python?
- JavaScript: \u{1118A} or \uD804\uDD8A. Python: \U0001118A.
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