π is the Unicode character EGYPTIAN HIEROGLYPH A027, code point U+1301F (decimal 77855) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓀟, and in UTF-8 it is the 4 bytes F0 93 80 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1301F |
| Decimal | 77855 |
| UTF-8 bytes | F0 93 80 9F |
| UTF-16 (big-endian) | D80C DC1F |
| UTF-32 | 0001301F |
| HTML decimal | 𓀟 |
| HTML hex | 𓀟 |
| CSS | \1301F |
| JavaScript | \u{1301F} or \uD80C\uDC1F |
| JSON | \uD80C\uDC1F |
| Python | \U0001301F |
| Python by name | \N{EGYPTIAN HIEROGLYPH A027} |
| Java, C# | \uD80C\uDC1F |
| Rust, Swift | \u{1301F} |
| Go, C, C++ | \U0001301F |
| URL (percent-encoded) | %F0%93%80%9F |
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 | EGYPTIAN HIEROGLYPH A027 |
| Code point | U+1301F (decimal 77855) |
| Block | Egyptian Hieroglyphs (U+13000βU+1342F) |
| General category | Lo: Other letter |
| Script | Egyptian Hieroglyphs |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.2 |
Nearby in Egyptian Hieroglyphs
- π U+13017 Egyptian Hieroglyph A019
- π U+13018 Egyptian Hieroglyph A020
- π U+13019 Egyptian Hieroglyph A021
- π U+1301A Egyptian Hieroglyph A022
- π U+1301B Egyptian Hieroglyph A023
- π U+1301C Egyptian Hieroglyph A024
- π U+1301D Egyptian Hieroglyph A025
- π U+1301E Egyptian Hieroglyph A026
- π U+13020 Egyptian Hieroglyph A028
- π‘ U+13021 Egyptian Hieroglyph A029
- π’ U+13022 Egyptian Hieroglyph A030
- π£ U+13023 Egyptian Hieroglyph A031
- π€ U+13024 Egyptian Hieroglyph A032
- π₯ U+13025 Egyptian Hieroglyph A032a
- π¦ U+13026 Egyptian Hieroglyph A033
- π§ U+13027 Egyptian Hieroglyph A034
All 1072 characters: Egyptian Hieroglyphs.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𓀟 (decimal) or 𓀟 (hex).
- What is the UTF-8 encoding of U+1301F?
- F0 93 80 9F (hex), 4 bytes. In a URL it is %F0%93%80%9F.
- How do I write U+1301F in JavaScript or Python?
- JavaScript: \u{1301F} or \uD80C\uDC1F. Python: \U0001301F.
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