π is the Unicode character TIRHUTA LETTER TTHA, code point U+1149A (decimal 70810) in the Tirhuta block, added in Unicode 7.0. In HTML write 𑒚, and in UTF-8 it is the 4 bytes F0 91 92 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1149A |
| Decimal | 70810 |
| UTF-8 bytes | F0 91 92 9A |
| UTF-16 (big-endian) | D805 DC9A |
| UTF-32 | 0001149A |
| HTML decimal | 𑒚 |
| HTML hex | 𑒚 |
| CSS | \1149A |
| JavaScript | \u{1149A} or \uD805\uDC9A |
| JSON | \uD805\uDC9A |
| Python | \U0001149A |
| Python by name | \N{TIRHUTA LETTER TTHA} |
| Java, C# | \uD805\uDC9A |
| Rust, Swift | \u{1149A} |
| Go, C, C++ | \U0001149A |
| URL (percent-encoded) | %F0%91%92%9A |
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 TTHA |
| Code point | U+1149A (decimal 70810) |
| 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+11492 Tirhuta Letter Gha
- π 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+1149B Tirhuta Letter Dda
- π U+1149C Tirhuta Letter Ddha
- π U+1149D Tirhuta Letter Nna
- π U+1149E Tirhuta Letter Ta
- π U+1149F Tirhuta Letter Tha
- π U+114A0 Tirhuta Letter Da
- π‘ U+114A1 Tirhuta Letter Dha
- π’ U+114A2 Tirhuta Letter Na
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+1149A?
- F0 91 92 9A (hex), 4 bytes. In a URL it is %F0%91%92%9A.
- How do I write U+1149A in JavaScript or Python?
- JavaScript: \u{1149A} or \uD805\uDC9A. Python: \U0001149A.
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