π is the Unicode character TIRHUTA LETTER GHA, code point U+11492 (decimal 70802) in the Tirhuta block, added in Unicode 7.0. In HTML write 𑒒, and in UTF-8 it is the 4 bytes F0 91 92 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11492 |
| Decimal | 70802 |
| UTF-8 bytes | F0 91 92 92 |
| UTF-16 (big-endian) | D805 DC92 |
| UTF-32 | 00011492 |
| HTML decimal | 𑒒 |
| HTML hex | 𑒒 |
| CSS | \11492 |
| JavaScript | \u{11492} or \uD805\uDC92 |
| JSON | \uD805\uDC92 |
| Python | \U00011492 |
| Python by name | \N{TIRHUTA LETTER GHA} |
| Java, C# | \uD805\uDC92 |
| Rust, Swift | \u{11492} |
| Go, C, C++ | \U00011492 |
| URL (percent-encoded) | %F0%91%92%92 |
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 GHA |
| Code point | U+11492 (decimal 70802) |
| 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+1148A Tirhuta Letter Vocalic Ll
- π U+1148B Tirhuta Letter E
- π U+1148C Tirhuta Letter Ai
- π U+1148D Tirhuta Letter O
- π U+1148E Tirhuta Letter Au
- π U+1148F Tirhuta Letter Ka
- π U+11490 Tirhuta Letter Kha
- π U+11491 Tirhuta Letter Ga
- π U+11493 Tirhuta Letter Nga
- π U+11494 Tirhuta Letter Ca
- π U+11495 Tirhuta Letter Cha
- π U+11496 Tirhuta Letter Ja
- π U+11497 Tirhuta Letter Jha
- π U+11498 Tirhuta Letter Nya
- π U+11499 Tirhuta Letter Tta
- π U+1149A Tirhuta Letter Ttha
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+11492?
- F0 91 92 92 (hex), 4 bytes. In a URL it is %F0%91%92%92.
- How do I write U+11492 in JavaScript or Python?
- JavaScript: \u{11492} or \uD805\uDC92. Python: \U00011492.
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