π is the Unicode character SIDDHAM LETTER TTA, code point U+11598 (decimal 71064) in the Siddham block, added in Unicode 7.0. In HTML write 𑖘, and in UTF-8 it is the 4 bytes F0 91 96 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11598 |
| Decimal | 71064 |
| UTF-8 bytes | F0 91 96 98 |
| UTF-16 (big-endian) | D805 DD98 |
| UTF-32 | 00011598 |
| HTML decimal | 𑖘 |
| HTML hex | 𑖘 |
| CSS | \11598 |
| JavaScript | \u{11598} or \uD805\uDD98 |
| JSON | \uD805\uDD98 |
| Python | \U00011598 |
| Python by name | \N{SIDDHAM LETTER TTA} |
| Java, C# | \uD805\uDD98 |
| Rust, Swift | \u{11598} |
| Go, C, C++ | \U00011598 |
| URL (percent-encoded) | %F0%91%96%98 |
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 TTA |
| Code point | U+11598 (decimal 71064) |
| 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+11590 Siddham Letter Ga
- π U+11591 Siddham Letter Gha
- π U+11592 Siddham Letter Nga
- π U+11593 Siddham Letter Ca
- π U+11594 Siddham Letter Cha
- π U+11595 Siddham Letter Ja
- π U+11596 Siddham Letter Jha
- π U+11597 Siddham Letter Nya
- π 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+1159F Siddham Letter Da
- π U+115A0 Siddham Letter Dha
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+11598?
- F0 91 96 98 (hex), 4 bytes. In a URL it is %F0%91%96%98.
- How do I write U+11598 in JavaScript or Python?
- JavaScript: \u{11598} or \uD805\uDD98. Python: \U00011598.
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