π is the Unicode character MODI LETTER AA, code point U+11601 (decimal 71169) in the Modi block, added in Unicode 7.0. In HTML write 𑘁, and in UTF-8 it is the 4 bytes F0 91 98 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11601 |
| Decimal | 71169 |
| UTF-8 bytes | F0 91 98 81 |
| UTF-16 (big-endian) | D805 DE01 |
| UTF-32 | 00011601 |
| HTML decimal | 𑘁 |
| HTML hex | 𑘁 |
| CSS | \11601 |
| JavaScript | \u{11601} or \uD805\uDE01 |
| JSON | \uD805\uDE01 |
| Python | \U00011601 |
| Python by name | \N{MODI LETTER AA} |
| Java, C# | \uD805\uDE01 |
| Rust, Swift | \u{11601} |
| Go, C, C++ | \U00011601 |
| URL (percent-encoded) | %F0%91%98%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 | MODI LETTER AA |
| Code point | U+11601 (decimal 71169) |
| 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+11600 Modi Letter A
- π U+11602 Modi Letter I
- π U+11603 Modi Letter Ii
- π U+11604 Modi Letter U
- π 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
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+11601?
- F0 91 98 81 (hex), 4 bytes. In a URL it is %F0%91%98%81.
- How do I write U+11601 in JavaScript or Python?
- JavaScript: \u{11601} or \uD805\uDE01. Python: \U00011601.
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