π² is the Unicode character INVERSE BLACK DIAMOND, code point U+1CC8D (decimal 117901) 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 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1CC8D |
| Decimal | 117901 |
| UTF-8 bytes | F0 9C B2 8D |
| UTF-16 (big-endian) | D833 DC8D |
| UTF-32 | 0001CC8D |
| HTML decimal | 𜲍 |
| HTML hex | 𜲍 |
| CSS | \1CC8D |
| JavaScript | \u{1CC8D} or \uD833\uDC8D |
| JSON | \uD833\uDC8D |
| Python | \U0001CC8D |
| Python by name | \N{INVERSE BLACK DIAMOND} |
| Java, C# | \uD833\uDC8D |
| Rust, Swift | \u{1CC8D} |
| Go, C, C++ | \U0001CC8D |
| URL (percent-encoded) | %F0%9C%B2%8D |
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 | INVERSE BLACK DIAMOND |
| Code point | U+1CC8D (decimal 117901) |
| 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+1CC85 Horizontal Ladder
- π² U+1CC86 White Lower Left Pointer
- π² U+1CC87 White Lower Right Pointer
- π² U+1CC88 Two Rings Aligned Horizontally
- π² U+1CC89 Square Four Corner Saltires
- π² U+1CC8A Square Four Corner Diagonals
- π² U+1CC8B Square Four Corner Black Triangles
- π² U+1CC8C Square Aperture
- π² 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
- π² U+1CC92 Left-Facing Fish
- π² U+1CC93 Right-Facing Fish
- π² U+1CC94 Left-Facing Fish With Open Mouth
- π² U+1CC95 Right-Facing Fish With Open Mouth
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+1CC8D?
- F0 9C B2 8D (hex), 4 bytes. In a URL it is %F0%9C%B2%8D.
- How do I write U+1CC8D in JavaScript or Python?
- JavaScript: \u{1CC8D} or \uD833\uDC8D. Python: \U0001CC8D.
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