π is the Unicode character TIRHUTA DIGIT SIX, code point U+114D6 (decimal 70870) in the Tirhuta block, added in Unicode 7.0. In HTML write 𑓖, and in UTF-8 it is the 4 bytes F0 91 93 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+114D6 |
| Decimal | 70870 |
| UTF-8 bytes | F0 91 93 96 |
| UTF-16 (big-endian) | D805 DCD6 |
| UTF-32 | 000114D6 |
| HTML decimal | 𑓖 |
| HTML hex | 𑓖 |
| CSS | \114D6 |
| JavaScript | \u{114D6} or \uD805\uDCD6 |
| JSON | \uD805\uDCD6 |
| Python | \U000114D6 |
| Python by name | \N{TIRHUTA DIGIT SIX} |
| Java, C# | \uD805\uDCD6 |
| Rust, Swift | \u{114D6} |
| Go, C, C++ | \U000114D6 |
| URL (percent-encoded) | %F0%91%93%96 |
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 DIGIT SIX |
| Code point | U+114D6 (decimal 70870) |
| Block | Tirhuta (U+11480βU+114DF) |
| General category | Nd: Decimal digit |
| Script | Tirhuta |
| Bidirectional class | L: Left-to-right |
| Numeric value | 6 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Tirhuta
- π U+114C6 Tirhuta Abbreviation Sign
- π U+114C7 Tirhuta Om
- π U+114D0 Tirhuta Digit Zero
- π U+114D1 Tirhuta Digit One
- π U+114D2 Tirhuta Digit Two
- π U+114D3 Tirhuta Digit Three
- π U+114D4 Tirhuta Digit Four
- π U+114D5 Tirhuta Digit Five
- π U+114D7 Tirhuta Digit Seven
- π U+114D8 Tirhuta Digit Eight
- π U+114D9 Tirhuta Digit Nine
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+114D6?
- F0 91 93 96 (hex), 4 bytes. In a URL it is %F0%91%93%96.
- How do I write U+114D6 in JavaScript or Python?
- JavaScript: \u{114D6} or \uD805\uDCD6. Python: \U000114D6.
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