π is the Unicode character SIDEWAYS WHITE LEFT POINTING INDEX, code point U+1F598 (decimal 128408) in the Miscellaneous Symbols and Pictographs block, added in Unicode 7.0. In HTML write 🖘, and in UTF-8 it is the 4 bytes F0 9F 96 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F598 |
| Decimal | 128408 |
| UTF-8 bytes | F0 9F 96 98 |
| UTF-16 (big-endian) | D83D DD98 |
| UTF-32 | 0001F598 |
| HTML decimal | 🖘 |
| HTML hex | 🖘 |
| CSS | \1F598 |
| JavaScript | \u{1F598} or \uD83D\uDD98 |
| JSON | \uD83D\uDD98 |
| Python | \U0001F598 |
| Python by name | \N{SIDEWAYS WHITE LEFT POINTING INDEX} |
| Java, C# | \uD83D\uDD98 |
| Rust, Swift | \u{1F598} |
| Go, C, C++ | \U0001F598 |
| URL (percent-encoded) | %F0%9F%96%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 | SIDEWAYS WHITE LEFT POINTING INDEX |
| Code point | U+1F598 (decimal 128408) |
| Block | Miscellaneous Symbols and Pictographs (U+1F300βU+1F5FF) |
| 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 Miscellaneous Symbols and Pictographs
- π U+1F590 Hand with fingers splayed
- π U+1F591 Reversed Raised Hand With Fingers Splayed
- π U+1F592 Reversed Thumbs Up Sign
- π U+1F593 Reversed Thumbs Down Sign
- π U+1F594 Reversed Victory Hand
- π U+1F595 Middle finger
- π U+1F596 Vulcan salute
- π U+1F597 White Down Pointing Left Hand Index
- π U+1F599 Sideways White Right Pointing Index
- π U+1F59A Sideways Black Left Pointing Index
- π U+1F59B Sideways Black Right Pointing Index
- π U+1F59C Black Left Pointing Backhand Index
- π U+1F59D Black Right Pointing Backhand Index
- π U+1F59E Sideways White Up Pointing Index
- π U+1F59F Sideways White Down Pointing Index
- π U+1F5A0 Sideways Black Up Pointing Index
All 768 characters: Miscellaneous Symbols and Pictographs.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 🖘 (decimal) or 🖘 (hex).
- What is the UTF-8 encoding of U+1F598?
- F0 9F 96 98 (hex), 4 bytes. In a URL it is %F0%9F%96%98.
- How do I write U+1F598 in JavaScript or Python?
- JavaScript: \u{1F598} or \uD83D\uDD98. Python: \U0001F598.
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