π is the Unicode character SIDDHAM LETTER DA, code point U+1159F (decimal 71071) in the Siddham block, added in Unicode 7.0. In HTML write 𑖟, and in UTF-8 it is the 4 bytes F0 91 96 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1159F |
| Decimal | 71071 |
| UTF-8 bytes | F0 91 96 9F |
| UTF-16 (big-endian) | D805 DD9F |
| UTF-32 | 0001159F |
| HTML decimal | 𑖟 |
| HTML hex | 𑖟 |
| CSS | \1159F |
| JavaScript | \u{1159F} or \uD805\uDD9F |
| JSON | \uD805\uDD9F |
| Python | \U0001159F |
| Python by name | \N{SIDDHAM LETTER DA} |
| Java, C# | \uD805\uDD9F |
| Rust, Swift | \u{1159F} |
| Go, C, C++ | \U0001159F |
| URL (percent-encoded) | %F0%91%96%9F |
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 DA |
| Code point | U+1159F (decimal 71071) |
| 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+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+1159D Siddham Letter Ta
- π U+1159E Siddham Letter Tha
- π 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
- π¦ U+115A6 Siddham Letter Ma
- π§ U+115A7 Siddham Letter Ya
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+1159F?
- F0 91 96 9F (hex), 4 bytes. In a URL it is %F0%91%96%9F.
- How do I write U+1159F in JavaScript or Python?
- JavaScript: \u{1159F} or \uD805\uDD9F. Python: \U0001159F.
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