π² is the Unicode character OSAGE CAPITAL LETTER AIN, code point U+104B2 (decimal 66738) in the Osage block, added in Unicode 9.0. In HTML write 𐒲, and in UTF-8 it is the 4 bytes F0 90 92 B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+104B2 |
| Decimal | 66738 |
| UTF-8 bytes | F0 90 92 B2 |
| UTF-16 (big-endian) | D801 DCB2 |
| UTF-32 | 000104B2 |
| HTML decimal | 𐒲 |
| HTML hex | 𐒲 |
| CSS | \104B2 |
| JavaScript | \u{104B2} or \uD801\uDCB2 |
| JSON | \uD801\uDCB2 |
| Python | \U000104B2 |
| Python by name | \N{OSAGE CAPITAL LETTER AIN} |
| Java, C# | \uD801\uDCB2 |
| Rust, Swift | \u{104B2} |
| Go, C, C++ | \U000104B2 |
| URL (percent-encoded) | %F0%90%92%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 | OSAGE CAPITAL LETTER AIN |
| Code point | U+104B2 (decimal 66738) |
| Block | Osage (U+104B0βU+104FF) |
| General category | Lu: Uppercase letter |
| Script | Osage |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 9.0 |
Upper and lower case
- π U+104DA Osage Small Letter Ain β Lowercase
Nearby in Osage
- π° U+104B0 Osage Capital Letter A
- π± U+104B1 Osage Capital Letter Ai
- π³ U+104B3 Osage Capital Letter Ah
- π΄ U+104B4 Osage Capital Letter Bra
- π΅ U+104B5 Osage Capital Letter Cha
- πΆ U+104B6 Osage Capital Letter Ehcha
- π· U+104B7 Osage Capital Letter E
- πΈ U+104B8 Osage Capital Letter Ein
- πΉ U+104B9 Osage Capital Letter Ha
- πΊ U+104BA Osage Capital Letter Hya
All 72 characters: Osage.
Official reference
Questions people ask
- What is the HTML code for π²?
- Use 𐒲 (decimal) or 𐒲 (hex).
- What is the UTF-8 encoding of U+104B2?
- F0 90 92 B2 (hex), 4 bytes. In a URL it is %F0%90%92%B2.
- How do I write U+104B2 in JavaScript or Python?
- JavaScript: \u{104B2} or \uD801\uDCB2. Python: \U000104B2.
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