π is the Unicode character LOWER LEFT BLOCK DIAGONAL UPPER LEFT TO LOWER CENTRE, code point U+1FB40 (decimal 129856) 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 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1FB40 |
| Decimal | 129856 |
| UTF-8 bytes | F0 9F AD 80 |
| UTF-16 (big-endian) | D83E DF40 |
| UTF-32 | 0001FB40 |
| HTML decimal | 🭀 |
| HTML hex | 🭀 |
| CSS | \1FB40 |
| JavaScript | \u{1FB40} or \uD83E\uDF40 |
| JSON | \uD83E\uDF40 |
| Python | \U0001FB40 |
| Python by name | \N{LOWER LEFT BLOCK DIAGONAL UPPER LEFT TO LOWER CENTRE} |
| Java, C# | \uD83E\uDF40 |
| Rust, Swift | \u{1FB40} |
| Go, C, C++ | \U0001FB40 |
| URL (percent-encoded) | %F0%9F%AD%80 |
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 LOWER CENTRE |
| Code point | U+1FB40 (decimal 129856) |
| 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+1FB20 Block Sextant-26
- π¬’ U+1FB22 Block Sextant-36
- 𬦠U+1FB26 Block Sextant-46
- π¬ U+1FB2D Block Sextant-56
- π¬Ό U+1FB3C Lower Left Block Diagonal Lower Middle Left To Lower Centre
- 𬽠U+1FB3D Lower Left Block Diagonal Lower Middle Left To Lower Right
- π¬Ύ U+1FB3E Lower Left Block Diagonal Upper Middle Left To Lower Centre
- π¬Ώ U+1FB3F Lower Left Block Diagonal Upper Middle Left To Lower Right
- π U+1FB41 Lower Right Block Diagonal Upper Middle Left To Upper Centre
- π U+1FB42 Lower Right Block Diagonal Upper Middle Left To Upper Right
- π U+1FB43 Lower Right Block Diagonal Lower Middle Left To Upper Centre
- π U+1FB44 Lower Right Block Diagonal Lower Middle Left To Upper Right
- π 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
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+1FB40?
- F0 9F AD 80 (hex), 4 bytes. In a URL it is %F0%9F%AD%80.
- How do I write U+1FB40 in JavaScript or Python?
- JavaScript: \u{1FB40} or \uD83E\uDF40. Python: \U0001FB40.
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