π is the Unicode character ALCHEMICAL SYMBOL FOR TRIDENT, code point U+1F751 (decimal 128849) in the Alchemical Symbols block, added in Unicode 6.0. In HTML write 🝑, and in UTF-8 it is the 4 bytes F0 9F 9D 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F751 |
| Decimal | 128849 |
| UTF-8 bytes | F0 9F 9D 91 |
| UTF-16 (big-endian) | D83D DF51 |
| UTF-32 | 0001F751 |
| HTML decimal | 🝑 |
| HTML hex | 🝑 |
| CSS | \1F751 |
| JavaScript | \u{1F751} or \uD83D\uDF51 |
| JSON | \uD83D\uDF51 |
| Python | \U0001F751 |
| Python by name | \N{ALCHEMICAL SYMBOL FOR TRIDENT} |
| Java, C# | \uD83D\uDF51 |
| Rust, Swift | \u{1F751} |
| Go, C, C++ | \U0001F751 |
| URL (percent-encoded) | %F0%9F%9D%91 |
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 | ALCHEMICAL SYMBOL FOR TRIDENT |
| Code point | U+1F751 (decimal 128849) |
| Block | Alchemical Symbols (U+1F700βU+1F77F) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Alchemical Symbols
- π U+1F749 Alchemical Symbol For Gum
- π U+1F74A Alchemical Symbol For Wax
- π U+1F74B Alchemical Symbol For Powder
- π U+1F74C Alchemical Symbol For Calx
- π U+1F74D Alchemical Symbol For Tutty
- π U+1F74E Alchemical Symbol For Caput Mortuum
- π U+1F74F Alchemical Symbol For Scepter Of Jove
- π U+1F750 Alchemical Symbol For Caduceus
- π U+1F752 Alchemical Symbol For Starred Trident
- π U+1F753 Alchemical Symbol For Lodestone
- π U+1F754 Alchemical Symbol For Soap
- π U+1F755 Alchemical Symbol For Urine
- π U+1F756 Alchemical Symbol For Horse Dung
- π U+1F757 Alchemical Symbol For Ashes
- π U+1F758 Alchemical Symbol For Pot Ashes
- π U+1F759 Alchemical Symbol For Brick
All 128 characters: Alchemical Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 🝑 (decimal) or 🝑 (hex).
- What is the UTF-8 encoding of U+1F751?
- F0 9F 9D 91 (hex), 4 bytes. In a URL it is %F0%9F%9D%91.
- How do I write U+1F751 in JavaScript or Python?
- JavaScript: \u{1F751} or \uD83D\uDF51. Python: \U0001F751.
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