π is the Unicode character LOWER LEFT BLOCK DIAGONAL UPPER LEFT TO UPPER MIDDLE RIGHT, code point U+1FB4D (decimal 129869) 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 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1FB4D |
| Decimal | 129869 |
| UTF-8 bytes | F0 9F AD 8D |
| UTF-16 (big-endian) | D83E DF4D |
| UTF-32 | 0001FB4D |
| HTML decimal | 🭍 |
| HTML hex | 🭍 |
| CSS | \1FB4D |
| JavaScript | \u{1FB4D} or \uD83E\uDF4D |
| JSON | \uD83E\uDF4D |
| Python | \U0001FB4D |
| Python by name | \N{LOWER LEFT BLOCK DIAGONAL UPPER LEFT TO UPPER MIDDLE RIGHT} |
| Java, C# | \uD83E\uDF4D |
| Rust, Swift | \u{1FB4D} |
| Go, C, C++ | \U0001FB4D |
| URL (percent-encoded) | %F0%9F%AD%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 | LOWER LEFT BLOCK DIAGONAL UPPER LEFT TO UPPER MIDDLE RIGHT |
| Code point | U+1FB4D (decimal 129869) |
| 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+1FB45 Lower Right Block Diagonal Lower Left To Upper Centre
- π U+1FB46 Lower Right Block Diagonal Lower Middle Left To Upper Middle Right
- π U+1FB47 Lower Right Block Diagonal Lower Centre To Lower Middle Right
- π U+1FB48 Lower Right Block Diagonal Lower Left To Lower Middle Right
- π U+1FB49 Lower Right Block Diagonal Lower Centre To Upper Middle Right
- π U+1FB4A Lower Right Block Diagonal Lower Left To Upper Middle Right
- π U+1FB4B Lower Right Block Diagonal Lower Centre To Upper Right
- π U+1FB4C Lower Left Block Diagonal Upper Centre 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+1FB54 Upper Right Block Diagonal Upper Middle Left To Lower Centre
- π U+1FB55 Upper Right Block Diagonal Upper Middle Left To Lower 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+1FB4D?
- F0 9F AD 8D (hex), 4 bytes. In a URL it is %F0%9F%AD%8D.
- How do I write U+1FB4D in JavaScript or Python?
- JavaScript: \u{1FB4D} or \uD83E\uDF4D. Python: \U0001FB4D.
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