π² is the Unicode character SQUARE FOUR CORNER SALTIRES, code point U+1CC89 (decimal 117897) in the Symbols for Legacy Computing Supplement block, added in Unicode 16.0. In HTML write 𜲉, and in UTF-8 it is the 4 bytes F0 9C B2 89.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1CC89 |
| Decimal | 117897 |
| UTF-8 bytes | F0 9C B2 89 |
| UTF-16 (big-endian) | D833 DC89 |
| UTF-32 | 0001CC89 |
| HTML decimal | 𜲉 |
| HTML hex | 𜲉 |
| CSS | \1CC89 |
| JavaScript | \u{1CC89} or \uD833\uDC89 |
| JSON | \uD833\uDC89 |
| Python | \U0001CC89 |
| Python by name | \N{SQUARE FOUR CORNER SALTIRES} |
| Java, C# | \uD833\uDC89 |
| Rust, Swift | \u{1CC89} |
| Go, C, C++ | \U0001CC89 |
| URL (percent-encoded) | %F0%9C%B2%89 |
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 | SQUARE FOUR CORNER SALTIRES |
| Code point | U+1CC89 (decimal 117897) |
| Block | Symbols for Legacy Computing Supplement (U+1CC00βU+1CEBF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Symbols for Legacy Computing Supplement
- π² U+1CC81 Striped Up-Pointing Triangle
- π² U+1CC82 Striped Right-Pointing Triangle
- π² U+1CC83 Striped Down-Pointing Triangle
- π² U+1CC84 Vertical Ladder
- π² U+1CC85 Horizontal Ladder
- π² U+1CC86 White Lower Left Pointer
- π² U+1CC87 White Lower Right Pointer
- π² U+1CC88 Two Rings Aligned Horizontally
- π² U+1CC8A Square Four Corner Diagonals
- π² U+1CC8B Square Four Corner Black Triangles
- π² U+1CC8C Square Aperture
- π² U+1CC8D Inverse Black Diamond
- π² U+1CC8E Left And Upper One Eighth Block Containing Black Small Square
- π² U+1CC8F Inverse Black Small Square
- π² U+1CC90 Vertical Line With Four Tick Marks
- π² U+1CC91 Horizontal Line With Four Tick Marks
All 447 characters: Symbols for Legacy Computing Supplement.
Official reference
Questions people ask
- What is the HTML code for π²?
- Use 𜲉 (decimal) or 𜲉 (hex).
- What is the UTF-8 encoding of U+1CC89?
- F0 9C B2 89 (hex), 4 bytes. In a URL it is %F0%9C%B2%89.
- How do I write U+1CC89 in JavaScript or Python?
- JavaScript: \u{1CC89} or \uD833\uDC89. Python: \U0001CC89.
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