π is the Unicode character ALCHEMICAL SYMBOL FOR TARTAR-2, code point U+1F740 (decimal 128832) 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 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1F740 |
| Decimal | 128832 |
| UTF-8 bytes | F0 9F 9D 80 |
| UTF-16 (big-endian) | D83D DF40 |
| UTF-32 | 0001F740 |
| HTML decimal | 🝀 |
| HTML hex | 🝀 |
| CSS | \1F740 |
| JavaScript | \u{1F740} or \uD83D\uDF40 |
| JSON | \uD83D\uDF40 |
| Python | \U0001F740 |
| Python by name | \N{ALCHEMICAL SYMBOL FOR TARTAR-2} |
| Java, C# | \uD83D\uDF40 |
| Rust, Swift | \u{1F740} |
| Go, C, C++ | \U0001F740 |
| URL (percent-encoded) | %F0%9F%9D%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 | ALCHEMICAL SYMBOL FOR TARTAR-2 |
| Code point | U+1F740 (decimal 128832) |
| 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+1F738 Alchemical Symbol For Marcasite
- πΉ U+1F739 Alchemical Symbol For Sal-Ammoniac
- πΊ U+1F73A Alchemical Symbol For Arsenic
- π» U+1F73B Alchemical Symbol For Realgar
- πΌ U+1F73C Alchemical Symbol For Realgar-2
- π½ U+1F73D Alchemical Symbol For Auripigment
- πΎ U+1F73E Alchemical Symbol For Bismuth Ore
- πΏ U+1F73F Alchemical Symbol For Tartar
- π U+1F741 Alchemical Symbol For Quick Lime
- π U+1F742 Alchemical Symbol For Borax
- π U+1F743 Alchemical Symbol For Borax-2
- π U+1F744 Alchemical Symbol For Borax-3
- π U+1F745 Alchemical Symbol For Alum
- π U+1F746 Alchemical Symbol For Oil
- π U+1F747 Alchemical Symbol For Spirit
- π U+1F748 Alchemical Symbol For Tincture
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+1F740?
- F0 9F 9D 80 (hex), 4 bytes. In a URL it is %F0%9F%9D%80.
- How do I write U+1F740 in JavaScript or Python?
- JavaScript: \u{1F740} or \uD83D\uDF40. Python: \U0001F740.
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