π is the Unicode character SIDDHAM LETTER TA, code point U+1159D (decimal 71069) in the Siddham block, added in Unicode 7.0. In HTML write 𑖝, and in UTF-8 it is the 4 bytes F0 91 96 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1159D |
| Decimal | 71069 |
| UTF-8 bytes | F0 91 96 9D |
| UTF-16 (big-endian) | D805 DD9D |
| UTF-32 | 0001159D |
| HTML decimal | 𑖝 |
| HTML hex | 𑖝 |
| CSS | \1159D |
| JavaScript | \u{1159D} or \uD805\uDD9D |
| JSON | \uD805\uDD9D |
| Python | \U0001159D |
| Python by name | \N{SIDDHAM LETTER TA} |
| Java, C# | \uD805\uDD9D |
| Rust, Swift | \u{1159D} |
| Go, C, C++ | \U0001159D |
| URL (percent-encoded) | %F0%91%96%9D |
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 | SIDDHAM LETTER TA |
| Code point | U+1159D (decimal 71069) |
| Block | Siddham (U+11580βU+115FF) |
| General category | Lo: Other letter |
| Script | Siddham |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Siddham
- π U+11595 Siddham Letter Ja
- π U+11596 Siddham Letter Jha
- π U+11597 Siddham Letter Nya
- π U+11598 Siddham Letter Tta
- π U+11599 Siddham Letter Ttha
- π U+1159A Siddham Letter Dda
- π U+1159B Siddham Letter Ddha
- π U+1159C Siddham Letter Nna
- π U+1159E Siddham Letter Tha
- π U+1159F Siddham Letter Da
- π U+115A0 Siddham Letter Dha
- π‘ U+115A1 Siddham Letter Na
- π’ U+115A2 Siddham Letter Pa
- π£ U+115A3 Siddham Letter Pha
- π€ U+115A4 Siddham Letter Ba
- π₯ U+115A5 Siddham Letter Bha
All 92 characters: Siddham.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑖝 (decimal) or 𑖝 (hex).
- What is the UTF-8 encoding of U+1159D?
- F0 91 96 9D (hex), 4 bytes. In a URL it is %F0%91%96%9D.
- How do I write U+1159D in JavaScript or Python?
- JavaScript: \u{1159D} or \uD805\uDD9D. Python: \U0001159D.
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