π is the Unicode character KHUDAWADI LETTER CHA, code point U+112C1 (decimal 70337) in the Khudawadi block, added in Unicode 7.0. In HTML write 𑋁, and in UTF-8 it is the 4 bytes F0 91 8B 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+112C1 |
| Decimal | 70337 |
| UTF-8 bytes | F0 91 8B 81 |
| UTF-16 (big-endian) | D804 DEC1 |
| UTF-32 | 000112C1 |
| HTML decimal | 𑋁 |
| HTML hex | 𑋁 |
| CSS | \112C1 |
| JavaScript | \u{112C1} or \uD804\uDEC1 |
| JSON | \uD804\uDEC1 |
| Python | \U000112C1 |
| Python by name | \N{KHUDAWADI LETTER CHA} |
| Java, C# | \uD804\uDEC1 |
| Rust, Swift | \u{112C1} |
| Go, C, C++ | \U000112C1 |
| URL (percent-encoded) | %F0%91%8B%81 |
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 | KHUDAWADI LETTER CHA |
| Code point | U+112C1 (decimal 70337) |
| Block | Khudawadi (U+112B0βU+112FF) |
| General category | Lo: Other letter |
| Script | Khudawadi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Khudawadi
- πΉ U+112B9 Khudawadi Letter Au
- πΊ U+112BA Khudawadi Letter Ka
- π» U+112BB Khudawadi Letter Kha
- πΌ U+112BC Khudawadi Letter Ga
- π½ U+112BD Khudawadi Letter Gga
- πΎ U+112BE Khudawadi Letter Gha
- πΏ U+112BF Khudawadi Letter Nga
- π U+112C0 Khudawadi Letter Ca
- π U+112C2 Khudawadi Letter Ja
- π U+112C3 Khudawadi Letter Jja
- π U+112C4 Khudawadi Letter Jha
- π U+112C5 Khudawadi Letter Nya
- π U+112C6 Khudawadi Letter Tta
- π U+112C7 Khudawadi Letter Ttha
- π U+112C8 Khudawadi Letter Dda
- π U+112C9 Khudawadi Letter Ddda
All 69 characters: Khudawadi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑋁 (decimal) or 𑋁 (hex).
- What is the UTF-8 encoding of U+112C1?
- F0 91 8B 81 (hex), 4 bytes. In a URL it is %F0%91%8B%81.
- How do I write U+112C1 in JavaScript or Python?
- JavaScript: \u{112C1} or \uD804\uDEC1. Python: \U000112C1.
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