π is the Unicode character SIDDHAM LETTER NNA, code point U+1159C (decimal 71068) in the Siddham block, added in Unicode 7.0. In HTML write 𑖜, and in UTF-8 it is the 4 bytes F0 91 96 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1159C |
| Decimal | 71068 |
| UTF-8 bytes | F0 91 96 9C |
| UTF-16 (big-endian) | D805 DD9C |
| UTF-32 | 0001159C |
| HTML decimal | 𑖜 |
| HTML hex | 𑖜 |
| CSS | \1159C |
| JavaScript | \u{1159C} or \uD805\uDD9C |
| JSON | \uD805\uDD9C |
| Python | \U0001159C |
| Python by name | \N{SIDDHAM LETTER NNA} |
| Java, C# | \uD805\uDD9C |
| Rust, Swift | \u{1159C} |
| Go, C, C++ | \U0001159C |
| URL (percent-encoded) | %F0%91%96%9C |
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 NNA |
| Code point | U+1159C (decimal 71068) |
| 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+11594 Siddham Letter Cha
- π 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+1159D Siddham Letter Ta
- π 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
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+1159C?
- F0 91 96 9C (hex), 4 bytes. In a URL it is %F0%91%96%9C.
- How do I write U+1159C in JavaScript or Python?
- JavaScript: \u{1159C} or \uD805\uDD9C. Python: \U0001159C.
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