π² is the Unicode character KHUDAWADI LETTER I, code point U+112B2 (decimal 70322) in the Khudawadi block, added in Unicode 7.0. In HTML write 𑊲, and in UTF-8 it is the 4 bytes F0 91 8A B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+112B2 |
| Decimal | 70322 |
| UTF-8 bytes | F0 91 8A B2 |
| UTF-16 (big-endian) | D804 DEB2 |
| UTF-32 | 000112B2 |
| HTML decimal | 𑊲 |
| HTML hex | 𑊲 |
| CSS | \112B2 |
| JavaScript | \u{112B2} or \uD804\uDEB2 |
| JSON | \uD804\uDEB2 |
| Python | \U000112B2 |
| Python by name | \N{KHUDAWADI LETTER I} |
| Java, C# | \uD804\uDEB2 |
| Rust, Swift | \u{112B2} |
| Go, C, C++ | \U000112B2 |
| URL (percent-encoded) | %F0%91%8A%B2 |
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 I |
| Code point | U+112B2 (decimal 70322) |
| 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+112B0 Khudawadi Letter A
- π± U+112B1 Khudawadi Letter Aa
- π³ U+112B3 Khudawadi Letter Ii
- π΄ U+112B4 Khudawadi Letter U
- π΅ U+112B5 Khudawadi Letter Uu
- πΆ U+112B6 Khudawadi Letter E
- π· U+112B7 Khudawadi Letter Ai
- πΈ U+112B8 Khudawadi Letter O
- πΉ U+112B9 Khudawadi Letter Au
- πΊ U+112BA Khudawadi Letter Ka
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+112B2?
- F0 91 8A B2 (hex), 4 bytes. In a URL it is %F0%91%8A%B2.
- How do I write U+112B2 in JavaScript or Python?
- JavaScript: \u{112B2} or \uD804\uDEB2. Python: \U000112B2.
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