π is the Unicode character MODI LETTER DDA, code point U+1161A (decimal 71194) in the Modi block, added in Unicode 7.0. In HTML write 𑘚, and in UTF-8 it is the 4 bytes F0 91 98 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1161A |
| Decimal | 71194 |
| UTF-8 bytes | F0 91 98 9A |
| UTF-16 (big-endian) | D805 DE1A |
| UTF-32 | 0001161A |
| HTML decimal | 𑘚 |
| HTML hex | 𑘚 |
| CSS | \1161A |
| JavaScript | \u{1161A} or \uD805\uDE1A |
| JSON | \uD805\uDE1A |
| Python | \U0001161A |
| Python by name | \N{MODI LETTER DDA} |
| Java, C# | \uD805\uDE1A |
| Rust, Swift | \u{1161A} |
| Go, C, C++ | \U0001161A |
| URL (percent-encoded) | %F0%91%98%9A |
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 | MODI LETTER DDA |
| Code point | U+1161A (decimal 71194) |
| Block | Modi (U+11600βU+1165F) |
| General category | Lo: Other letter |
| Script | Modi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Modi
- π U+11612 Modi Letter Nga
- π U+11613 Modi Letter Ca
- π U+11614 Modi Letter Cha
- π U+11615 Modi Letter Ja
- π U+11616 Modi Letter Jha
- π U+11617 Modi Letter Nya
- π U+11618 Modi Letter Tta
- π U+11619 Modi Letter Ttha
- π U+1161B Modi Letter Ddha
- π U+1161C Modi Letter Nna
- π U+1161D Modi Letter Ta
- π U+1161E Modi Letter Tha
- π U+1161F Modi Letter Da
- π U+11620 Modi Letter Dha
- π‘ U+11621 Modi Letter Na
- π’ U+11622 Modi Letter Pa
All 79 characters: Modi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑘚 (decimal) or 𑘚 (hex).
- What is the UTF-8 encoding of U+1161A?
- F0 91 98 9A (hex), 4 bytes. In a URL it is %F0%91%98%9A.
- How do I write U+1161A in JavaScript or Python?
- JavaScript: \u{1161A} or \uD805\uDE1A. Python: \U0001161A.
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