π is the Unicode character MAHAJANI LETTER E, code point U+11153 (decimal 69971) in the Mahajani block, added in Unicode 7.0. In HTML write 𑅓, and in UTF-8 it is the 4 bytes F0 91 85 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11153 |
| Decimal | 69971 |
| UTF-8 bytes | F0 91 85 93 |
| UTF-16 (big-endian) | D804 DD53 |
| UTF-32 | 00011153 |
| HTML decimal | 𑅓 |
| HTML hex | 𑅓 |
| CSS | \11153 |
| JavaScript | \u{11153} or \uD804\uDD53 |
| JSON | \uD804\uDD53 |
| Python | \U00011153 |
| Python by name | \N{MAHAJANI LETTER E} |
| Java, C# | \uD804\uDD53 |
| Rust, Swift | \u{11153} |
| Go, C, C++ | \U00011153 |
| URL (percent-encoded) | %F0%91%85%93 |
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 E |
| Code point | U+11153 (decimal 69971) |
| 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+11150 Mahajani Letter A
- π U+11151 Mahajani Letter I
- π U+11152 Mahajani Letter U
- π U+11154 Mahajani Letter O
- π U+11155 Mahajani Letter Ka
- π U+11156 Mahajani Letter Kha
- π 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
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+11153?
- F0 91 85 93 (hex), 4 bytes. In a URL it is %F0%91%85%93.
- How do I write U+11153 in JavaScript or Python?
- JavaScript: \u{11153} or \uD804\uDD53. Python: \U00011153.
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