π² is the Unicode character GURUNG KHEMA DIGIT TWO, code point U+16132 (decimal 90418) in the Gurung Khema block, added in Unicode 16.0. In HTML write 𖄲, and in UTF-8 it is the 4 bytes F0 96 84 B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16132 |
| Decimal | 90418 |
| UTF-8 bytes | F0 96 84 B2 |
| UTF-16 (big-endian) | D818 DD32 |
| UTF-32 | 00016132 |
| HTML decimal | 𖄲 |
| HTML hex | 𖄲 |
| CSS | \16132 |
| JavaScript | \u{16132} or \uD818\uDD32 |
| JSON | \uD818\uDD32 |
| Python | \U00016132 |
| Python by name | \N{GURUNG KHEMA DIGIT TWO} |
| Java, C# | \uD818\uDD32 |
| Rust, Swift | \u{16132} |
| Go, C, C++ | \U00016132 |
| URL (percent-encoded) | %F0%96%84%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 | GURUNG KHEMA DIGIT TWO |
| Code point | U+16132 (decimal 90418) |
| Block | Gurung Khema (U+16100βU+1613F) |
| General category | Nd: Decimal digit |
| Script | Gurung Khema |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Gurung Khema
- U+1612A Gurung Khema Consonant Sign Medial Ya
- U+1612B Gurung Khema Consonant Sign Medial Va
- U+1612C Gurung Khema Consonant Sign Medial Ha
- U+1612D Gurung Khema Sign Anusvara
- U+1612E Gurung Khema Consonant Sign Medial Ra
- U+1612F Gurung Khema Sign Tholhoma
- π° U+16130 Gurung Khema Digit Zero
- π± U+16131 Gurung Khema Digit One
- π³ U+16133 Gurung Khema Digit Three
- π΄ U+16134 Gurung Khema Digit Four
- π΅ U+16135 Gurung Khema Digit Five
- πΆ U+16136 Gurung Khema Digit Six
- π· U+16137 Gurung Khema Digit Seven
- πΈ U+16138 Gurung Khema Digit Eight
- πΉ U+16139 Gurung Khema Digit Nine
All 58 characters: Gurung Khema.
Official reference
Questions people ask
- What is the HTML code for π²?
- Use 𖄲 (decimal) or 𖄲 (hex).
- What is the UTF-8 encoding of U+16132?
- F0 96 84 B2 (hex), 4 bytes. In a URL it is %F0%96%84%B2.
- How do I write U+16132 in JavaScript or Python?
- JavaScript: \u{16132} or \uD818\uDD32. Python: \U00016132.
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