π² is the Unicode character TAI YO LETTER AK, code point U+1E6F2 (decimal 124658) in the Tai Yo block, added in Unicode 17.0. In HTML write 𞛲, and in UTF-8 it is the 4 bytes F0 9E 9B B2.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E6F2 |
| Decimal | 124658 |
| UTF-8 bytes | F0 9E 9B B2 |
| UTF-16 (big-endian) | D839 DEF2 |
| UTF-32 | 0001E6F2 |
| HTML decimal | 𞛲 |
| HTML hex | 𞛲 |
| CSS | \1E6F2 |
| JavaScript | \u{1E6F2} or \uD839\uDEF2 |
| JSON | \uD839\uDEF2 |
| Python | \U0001E6F2 |
| Python by name | \N{TAI YO LETTER AK} |
| Java, C# | \uD839\uDEF2 |
| Rust, Swift | \u{1E6F2} |
| Go, C, C++ | \U0001E6F2 |
| URL (percent-encoded) | %F0%9E%9B%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 | TAI YO LETTER AK |
| Code point | U+1E6F2 (decimal 124658) |
| Block | Tai Yo (U+1E6C0βU+1E6FF) |
| General category | Lo: Other letter |
| Script | Tai Yo |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 17.0 |
Nearby in Tai Yo
- πͺ U+1E6EA Tai Yo Letter Uea
- π« U+1E6EB Tai Yo Letter Ua
- π¬ U+1E6EC Tai Yo Letter Oo
- π U+1E6ED Tai Yo Letter Aue
- U+1E6EE Tai Yo Sign Ay
- U+1E6EF Tai Yo Sign Ang
- π° U+1E6F0 Tai Yo Letter An
- π± U+1E6F1 Tai Yo Letter Am
- π³ U+1E6F3 Tai Yo Letter At
- π΄ U+1E6F4 Tai Yo Letter Ap
- U+1E6F5 Tai Yo Sign Om
- πΎ U+1E6FE Tai Yo Symbol Mueang
- πΏ U+1E6FF Tai Yo Xam Lai
All 55 characters: Tai Yo.
Official reference
Questions people ask
- What is the HTML code for π²?
- Use 𞛲 (decimal) or 𞛲 (hex).
- What is the UTF-8 encoding of U+1E6F2?
- F0 9E 9B B2 (hex), 4 bytes. In a URL it is %F0%9E%9B%B2.
- How do I write U+1E6F2 in JavaScript or Python?
- JavaScript: \u{1E6F2} or \uD839\uDEF2. Python: \U0001E6F2.
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