π is the Unicode character MODI LETTER AU, code point U+1160D (decimal 71181) in the Modi block, added in Unicode 7.0. In HTML write 𑘍, and in UTF-8 it is the 4 bytes F0 91 98 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1160D |
| Decimal | 71181 |
| UTF-8 bytes | F0 91 98 8D |
| UTF-16 (big-endian) | D805 DE0D |
| UTF-32 | 0001160D |
| HTML decimal | 𑘍 |
| HTML hex | 𑘍 |
| CSS | \1160D |
| JavaScript | \u{1160D} or \uD805\uDE0D |
| JSON | \uD805\uDE0D |
| Python | \U0001160D |
| Python by name | \N{MODI LETTER AU} |
| Java, C# | \uD805\uDE0D |
| Rust, Swift | \u{1160D} |
| Go, C, C++ | \U0001160D |
| URL (percent-encoded) | %F0%91%98%8D |
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 | MODI LETTER AU |
| Code point | U+1160D (decimal 71181) |
| Block | Modi (U+11600βU+1165F) |
| General category | Lo: Other letter |
| Script | Modi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Modi
- π U+11605 Modi Letter Uu
- π U+11606 Modi Letter Vocalic R
- π U+11607 Modi Letter Vocalic Rr
- π U+11608 Modi Letter Vocalic L
- π U+11609 Modi Letter Vocalic Ll
- π U+1160A Modi Letter E
- π U+1160B Modi Letter Ai
- π U+1160C Modi Letter O
- π U+1160E Modi Letter Ka
- π U+1160F Modi Letter Kha
- π U+11610 Modi Letter Ga
- π U+11611 Modi Letter Gha
- π U+11612 Modi Letter Nga
- π U+11613 Modi Letter Ca
- π U+11614 Modi Letter Cha
- π U+11615 Modi Letter Ja
All 79 characters: Modi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑘍 (decimal) or 𑘍 (hex).
- What is the UTF-8 encoding of U+1160D?
- F0 91 98 8D (hex), 4 bytes. In a URL it is %F0%91%98%8D.
- How do I write U+1160D in JavaScript or Python?
- JavaScript: \u{1160D} or \uD805\uDE0D. Python: \U0001160D.
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