π is the Unicode character TIRHUTA DIGIT FIVE, code point U+114D5 (decimal 70869) in the Tirhuta block, added in Unicode 7.0. In HTML write 𑓕, and in UTF-8 it is the 4 bytes F0 91 93 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+114D5 |
| Decimal | 70869 |
| UTF-8 bytes | F0 91 93 95 |
| UTF-16 (big-endian) | D805 DCD5 |
| UTF-32 | 000114D5 |
| HTML decimal | 𑓕 |
| HTML hex | 𑓕 |
| CSS | \114D5 |
| JavaScript | \u{114D5} or \uD805\uDCD5 |
| JSON | \uD805\uDCD5 |
| Python | \U000114D5 |
| Python by name | \N{TIRHUTA DIGIT FIVE} |
| Java, C# | \uD805\uDCD5 |
| Rust, Swift | \u{114D5} |
| Go, C, C++ | \U000114D5 |
| URL (percent-encoded) | %F0%91%93%95 |
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 FIVE |
| Code point | U+114D5 (decimal 70869) |
| Block | Tirhuta (U+11480βU+114DF) |
| General category | Nd: Decimal digit |
| Script | Tirhuta |
| Bidirectional class | L: Left-to-right |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Tirhuta
- π U+114C5 Tirhuta Gvang
- π 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+114D6 Tirhuta Digit Six
- π 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+114D5?
- F0 91 93 95 (hex), 4 bytes. In a URL it is %F0%91%93%95.
- How do I write U+114D5 in JavaScript or Python?
- JavaScript: \u{114D5} or \uD805\uDCD5. Python: \U000114D5.
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