π is the Unicode character TIRHUTA LETTER AA, code point U+11482 (decimal 70786) in the Tirhuta block, added in Unicode 7.0. In HTML write 𑒂, and in UTF-8 it is the 4 bytes F0 91 92 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11482 |
| Decimal | 70786 |
| UTF-8 bytes | F0 91 92 82 |
| UTF-16 (big-endian) | D805 DC82 |
| UTF-32 | 00011482 |
| HTML decimal | 𑒂 |
| HTML hex | 𑒂 |
| CSS | \11482 |
| JavaScript | \u{11482} or \uD805\uDC82 |
| JSON | \uD805\uDC82 |
| Python | \U00011482 |
| Python by name | \N{TIRHUTA LETTER AA} |
| Java, C# | \uD805\uDC82 |
| Rust, Swift | \u{11482} |
| Go, C, C++ | \U00011482 |
| URL (percent-encoded) | %F0%91%92%82 |
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 | TIRHUTA LETTER AA |
| Code point | U+11482 (decimal 70786) |
| Block | Tirhuta (U+11480βU+114DF) |
| General category | Lo: Other letter |
| Script | Tirhuta |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Tirhuta
- π U+11480 Tirhuta Anji
- π U+11481 Tirhuta Letter A
- π U+11483 Tirhuta Letter I
- π U+11484 Tirhuta Letter Ii
- π U+11485 Tirhuta Letter U
- π U+11486 Tirhuta Letter Uu
- π U+11487 Tirhuta Letter Vocalic R
- π U+11488 Tirhuta Letter Vocalic Rr
- π U+11489 Tirhuta Letter Vocalic L
- π U+1148A Tirhuta Letter Vocalic Ll
All 82 characters: Tirhuta.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑒂 (decimal) or 𑒂 (hex).
- What is the UTF-8 encoding of U+11482?
- F0 91 92 82 (hex), 4 bytes. In a URL it is %F0%91%92%82.
- How do I write U+11482 in JavaScript or Python?
- JavaScript: \u{11482} or \uD805\uDC82. Python: \U00011482.
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