π is the Unicode character LEFTWARDS ARROW WITH SMALL TRIANGLE ARROWHEAD, code point U+1F800 (decimal 129024) in the Supplemental Arrows-C block, added in Unicode 7.0. In HTML write 🠀, and in UTF-8 it is the 4 bytes F0 9F A0 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F800 |
| Decimal | 129024 |
| UTF-8 bytes | F0 9F A0 80 |
| UTF-16 (big-endian) | D83E DC00 |
| UTF-32 | 0001F800 |
| HTML decimal | 🠀 |
| HTML hex | 🠀 |
| CSS | \1F800 |
| JavaScript | \u{1F800} or \uD83E\uDC00 |
| JSON | \uD83E\uDC00 |
| Python | \U0001F800 |
| Python by name | \N{LEFTWARDS ARROW WITH SMALL TRIANGLE ARROWHEAD} |
| Java, C# | \uD83E\uDC00 |
| Rust, Swift | \u{1F800} |
| Go, C, C++ | \U0001F800 |
| URL (percent-encoded) | %F0%9F%A0%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 | LEFTWARDS ARROW WITH SMALL TRIANGLE ARROWHEAD |
| Code point | U+1F800 (decimal 129024) |
| Block | Supplemental Arrows-C (U+1F800βU+1F8FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Supplemental Arrows-C
- π U+1F801 Upwards Arrow With Small Triangle Arrowhead
- π U+1F802 Rightwards Arrow With Small Triangle Arrowhead
- π U+1F803 Downwards Arrow With Small Triangle Arrowhead
- π U+1F804 Leftwards Arrow With Medium Triangle Arrowhead
- π U+1F805 Upwards Arrow With Medium Triangle Arrowhead
- π U+1F806 Rightwards Arrow With Medium Triangle Arrowhead
- π U+1F807 Downwards Arrow With Medium Triangle Arrowhead
- π U+1F808 Leftwards Arrow With Large Triangle Arrowhead
All 171 characters: Supplemental Arrows-C.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 🠀 (decimal) or 🠀 (hex).
- What is the UTF-8 encoding of U+1F800?
- F0 9F A0 80 (hex), 4 bytes. In a URL it is %F0%9F%A0%80.
- How do I write U+1F800 in JavaScript or Python?
- JavaScript: \u{1F800} or \uD83E\uDC00. Python: \U0001F800.
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