π is the Unicode character HEAVY LEFTWARDS ARROW WITH EQUILATERAL ARROWHEAD, code point U+1F818 (decimal 129048) 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 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F818 |
| Decimal | 129048 |
| UTF-8 bytes | F0 9F A0 98 |
| UTF-16 (big-endian) | D83E DC18 |
| UTF-32 | 0001F818 |
| HTML decimal | 🠘 |
| HTML hex | 🠘 |
| CSS | \1F818 |
| JavaScript | \u{1F818} or \uD83E\uDC18 |
| JSON | \uD83E\uDC18 |
| Python | \U0001F818 |
| Python by name | \N{HEAVY LEFTWARDS ARROW WITH EQUILATERAL ARROWHEAD} |
| Java, C# | \uD83E\uDC18 |
| Rust, Swift | \u{1F818} |
| Go, C, C++ | \U0001F818 |
| URL (percent-encoded) | %F0%9F%A0%98 |
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 | HEAVY LEFTWARDS ARROW WITH EQUILATERAL ARROWHEAD |
| Code point | U+1F818 (decimal 129048) |
| 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+1F810 Leftwards Arrow With Small Equilateral Arrowhead
- π U+1F811 Upwards Arrow With Small Equilateral Arrowhead
- π U+1F812 Rightwards Arrow With Small Equilateral Arrowhead
- π U+1F813 Downwards Arrow With Small Equilateral Arrowhead
- π U+1F814 Leftwards Arrow With Equilateral Arrowhead
- π U+1F815 Upwards Arrow With Equilateral Arrowhead
- π U+1F816 Rightwards Arrow With Equilateral Arrowhead
- π U+1F817 Downwards Arrow With Equilateral Arrowhead
- π U+1F819 Heavy Upwards Arrow With Equilateral Arrowhead
- π U+1F81A Heavy Rightwards Arrow With Equilateral Arrowhead
- π U+1F81B Heavy Downwards Arrow With Equilateral Arrowhead
- π U+1F81C Heavy Leftwards Arrow With Large Equilateral Arrowhead
- π U+1F81D Heavy Upwards Arrow With Large Equilateral Arrowhead
- π U+1F81E Heavy Rightwards Arrow With Large Equilateral Arrowhead
- π U+1F81F Heavy Downwards Arrow With Large Equilateral Arrowhead
- π U+1F820 Leftwards Triangle-Headed Arrow With Narrow Shaft
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+1F818?
- F0 9F A0 98 (hex), 4 bytes. In a URL it is %F0%9F%A0%98.
- How do I write U+1F818 in JavaScript or Python?
- JavaScript: \u{1F818} or \uD83E\uDC18. Python: \U0001F818.
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