π is the Unicode character ALCHEMICAL SYMBOL FOR SULFUR, code point U+1F70D (decimal 128781) in the Alchemical Symbols block, added in Unicode 6.0. In HTML write 🜍, and in UTF-8 it is the 4 bytes F0 9F 9C 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F70D |
| Decimal | 128781 |
| UTF-8 bytes | F0 9F 9C 8D |
| UTF-16 (big-endian) | D83D DF0D |
| UTF-32 | 0001F70D |
| HTML decimal | 🜍 |
| HTML hex | 🜍 |
| CSS | \1F70D |
| JavaScript | \u{1F70D} or \uD83D\uDF0D |
| JSON | \uD83D\uDF0D |
| Python | \U0001F70D |
| Python by name | \N{ALCHEMICAL SYMBOL FOR SULFUR} |
| Java, C# | \uD83D\uDF0D |
| Rust, Swift | \u{1F70D} |
| Go, C, C++ | \U0001F70D |
| URL (percent-encoded) | %F0%9F%9C%8D |
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 SULFUR |
| Code point | U+1F70D (decimal 128781) |
| 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+1F705 Alchemical Symbol For Aquafortis
- π U+1F706 Alchemical Symbol For Aqua Regia
- π U+1F707 Alchemical Symbol For Aqua Regia-2
- π U+1F708 Alchemical Symbol For Aqua Vitae
- π U+1F709 Alchemical Symbol For Aqua Vitae-2
- π U+1F70A Alchemical Symbol For Vinegar
- π U+1F70B Alchemical Symbol For Vinegar-2
- π U+1F70C Alchemical Symbol For Vinegar-3
- π U+1F70E Alchemical Symbol For Philosophers Sulfur
- π U+1F70F Alchemical Symbol For Black Sulfur
- π U+1F710 Alchemical Symbol For Mercury Sublimate
- π U+1F711 Alchemical Symbol For Mercury Sublimate-2
- π U+1F712 Alchemical Symbol For Mercury Sublimate-3
- π U+1F713 Alchemical Symbol For Cinnabar
- π U+1F714 Alchemical Symbol For Salt
- π U+1F715 Alchemical Symbol For Nitre
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+1F70D?
- F0 9F 9C 8D (hex), 4 bytes. In a URL it is %F0%9F%9C%8D.
- How do I write U+1F70D in JavaScript or Python?
- JavaScript: \u{1F70D} or \uD83D\uDF0D. Python: \U0001F70D.
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