π is the Unicode character MAHAJANI LETTER TTHA, code point U+1115F (decimal 69983) in the Mahajani block, added in Unicode 7.0. In HTML write 𑅟, and in UTF-8 it is the 4 bytes F0 91 85 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1115F |
| Decimal | 69983 |
| UTF-8 bytes | F0 91 85 9F |
| UTF-16 (big-endian) | D804 DD5F |
| UTF-32 | 0001115F |
| HTML decimal | 𑅟 |
| HTML hex | 𑅟 |
| CSS | \1115F |
| JavaScript | \u{1115F} or \uD804\uDD5F |
| JSON | \uD804\uDD5F |
| Python | \U0001115F |
| Python by name | \N{MAHAJANI LETTER TTHA} |
| Java, C# | \uD804\uDD5F |
| Rust, Swift | \u{1115F} |
| Go, C, C++ | \U0001115F |
| URL (percent-encoded) | %F0%91%85%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 | MAHAJANI LETTER TTHA |
| Code point | U+1115F (decimal 69983) |
| Block | Mahajani (U+11150βU+1117F) |
| General category | Lo: Other letter |
| Script | Mahajani |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Mahajani
- π U+11157 Mahajani Letter Ga
- π U+11158 Mahajani Letter Gha
- π U+11159 Mahajani Letter Ca
- π U+1115A Mahajani Letter Cha
- π U+1115B Mahajani Letter Ja
- π U+1115C Mahajani Letter Jha
- π U+1115D Mahajani Letter Nya
- π U+1115E Mahajani Letter Tta
- π U+11160 Mahajani Letter Dda
- π ‘ U+11161 Mahajani Letter Ddha
- π ’ U+11162 Mahajani Letter Nna
- π £ U+11163 Mahajani Letter Ta
- π € U+11164 Mahajani Letter Tha
- π ₯ U+11165 Mahajani Letter Da
- π ¦ U+11166 Mahajani Letter Dha
- π § U+11167 Mahajani Letter Na
All 39 characters: Mahajani.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𑅟 (decimal) or 𑅟 (hex).
- What is the UTF-8 encoding of U+1115F?
- F0 91 85 9F (hex), 4 bytes. In a URL it is %F0%91%85%9F.
- How do I write U+1115F in JavaScript or Python?
- JavaScript: \u{1115F} or \uD804\uDD5F. Python: \U0001115F.
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