π is the Unicode character UPPER RIGHT BLOCK DIAGONAL UPPER MIDDLE LEFT TO LOWER CENTRE, code point U+1FB54 (decimal 129876) in the Symbols for Legacy Computing block, added in Unicode 13.0. In HTML write 🭔, and in UTF-8 it is the 4 bytes F0 9F AD 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1FB54 |
| Decimal | 129876 |
| UTF-8 bytes | F0 9F AD 94 |
| UTF-16 (big-endian) | D83E DF54 |
| UTF-32 | 0001FB54 |
| HTML decimal | 🭔 |
| HTML hex | 🭔 |
| CSS | \1FB54 |
| JavaScript | \u{1FB54} or \uD83E\uDF54 |
| JSON | \uD83E\uDF54 |
| Python | \U0001FB54 |
| Python by name | \N{UPPER RIGHT BLOCK DIAGONAL UPPER MIDDLE LEFT TO LOWER CENTRE} |
| Java, C# | \uD83E\uDF54 |
| Rust, Swift | \u{1FB54} |
| Go, C, C++ | \U0001FB54 |
| URL (percent-encoded) | %F0%9F%AD%94 |
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 | UPPER RIGHT BLOCK DIAGONAL UPPER MIDDLE LEFT TO LOWER CENTRE |
| Code point | U+1FB54 (decimal 129876) |
| Block | Symbols for Legacy Computing (U+1FB00βU+1FBFF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 13.0 |
Nearby in Symbols for Legacy Computing
- π U+1FB4C Lower Left Block Diagonal Upper Centre To Upper Middle Right
- π U+1FB4D Lower Left Block Diagonal Upper Left To Upper Middle Right
- π U+1FB4E Lower Left Block Diagonal Upper Centre To Lower Middle Right
- π U+1FB4F Lower Left Block Diagonal Upper Left To Lower Middle Right
- π U+1FB50 Lower Left Block Diagonal Upper Centre To Lower Right
- π U+1FB51 Lower Left Block Diagonal Upper Middle Left To Lower Middle Right
- π U+1FB52 Upper Right Block Diagonal Lower Middle Left To Lower Centre
- π U+1FB53 Upper Right Block Diagonal Lower Middle Left To Lower Right
- π U+1FB55 Upper Right Block Diagonal Upper Middle Left To Lower Right
- π U+1FB56 Upper Right Block Diagonal Upper Left To Lower Centre
- π U+1FB57 Upper Left Block Diagonal Upper Middle Left To Upper Centre
- π U+1FB58 Upper Left Block Diagonal Upper Middle Left To Upper Right
- π U+1FB59 Upper Left Block Diagonal Lower Middle Left To Upper Centre
- π U+1FB5A Upper Left Block Diagonal Lower Middle Left To Upper Right
- π U+1FB5B Upper Left Block Diagonal Lower Left To Upper Centre
- π U+1FB5C Upper Left Block Diagonal Lower Middle Left To Upper Middle Right
All 210 characters: Symbols for Legacy Computing.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 🭔 (decimal) or 🭔 (hex).
- What is the UTF-8 encoding of U+1FB54?
- F0 9F AD 94 (hex), 4 bytes. In a URL it is %F0%9F%AD%94.
- How do I write U+1FB54 in JavaScript or Python?
- JavaScript: \u{1FB54} or \uD83E\uDF54. Python: \U0001FB54.
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