π is the Unicode character SHARADA SIGN AVAGRAHA, code point U+111C1 (decimal 70081) in the Sharada block, added in Unicode 6.1. In HTML write 𑇁, and in UTF-8 it is the 4 bytes F0 91 87 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+111C1 |
| Decimal | 70081 |
| UTF-8 bytes | F0 91 87 81 |
| UTF-16 (big-endian) | D804 DDC1 |
| UTF-32 | 000111C1 |
| HTML decimal | 𑇁 |
| HTML hex | 𑇁 |
| CSS | \111C1 |
| JavaScript | \u{111C1} or \uD804\uDDC1 |
| JSON | \uD804\uDDC1 |
| Python | \U000111C1 |
| Python by name | \N{SHARADA SIGN AVAGRAHA} |
| Java, C# | \uD804\uDDC1 |
| Rust, Swift | \u{111C1} |
| Go, C, C++ | \U000111C1 |
| URL (percent-encoded) | %F0%91%87%81 |
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 SIGN AVAGRAHA |
| Code point | U+111C1 (decimal 70081) |
| 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+111B9 Sharada Vowel Sign Vocalic Rr
- U+111BA Sharada Vowel Sign Vocalic L
- U+111BB Sharada Vowel Sign Vocalic Ll
- U+111BC Sharada Vowel Sign E
- U+111BD Sharada Vowel Sign Ai
- U+111BE Sharada Vowel Sign O
- U+111BF Sharada Vowel Sign Au
- U+111C0 Sharada Sign Virama
- π U+111C2 Sharada Sign Jihvamuliya
- π U+111C3 Sharada Sign Upadhmaniya
- π U+111C4 Sharada Om
- π U+111C5 Sharada Danda
- π U+111C6 Sharada Double Danda
- π U+111C7 Sharada Abbreviation Sign
- π U+111C8 Sharada Separator
- U+111C9 Sharada Sandhi Mark
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+111C1?
- F0 91 87 81 (hex), 4 bytes. In a URL it is %F0%91%87%81.
- How do I write U+111C1 in JavaScript or Python?
- JavaScript: \u{111C1} or \uD804\uDDC1. Python: \U000111C1.
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