π is the Unicode character EGYPTIAN HIEROGLYPH A055, code point U+13040 (decimal 77888) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓁀, and in UTF-8 it is the 4 bytes F0 93 81 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13040 |
| Decimal | 77888 |
| UTF-8 bytes | F0 93 81 80 |
| UTF-16 (big-endian) | D80C DC40 |
| UTF-32 | 00013040 |
| HTML decimal | 𓁀 |
| HTML hex | 𓁀 |
| CSS | \13040 |
| JavaScript | \u{13040} or \uD80C\uDC40 |
| JSON | \uD80C\uDC40 |
| Python | \U00013040 |
| Python by name | \N{EGYPTIAN HIEROGLYPH A055} |
| Java, C# | \uD80C\uDC40 |
| Rust, Swift | \u{13040} |
| Go, C, C++ | \U00013040 |
| URL (percent-encoded) | %F0%93%81%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 | EGYPTIAN HIEROGLYPH A055 |
| Code point | U+13040 (decimal 77888) |
| 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+13038 Egyptian Hieroglyph A047
- πΉ U+13039 Egyptian Hieroglyph A048
- πΊ U+1303A Egyptian Hieroglyph A049
- π» U+1303B Egyptian Hieroglyph A050
- πΌ U+1303C Egyptian Hieroglyph A051
- π½ U+1303D Egyptian Hieroglyph A052
- πΎ U+1303E Egyptian Hieroglyph A053
- πΏ U+1303F Egyptian Hieroglyph A054
- π U+13041 Egyptian Hieroglyph A056
- π U+13042 Egyptian Hieroglyph A057
- π U+13043 Egyptian Hieroglyph A058
- π U+13044 Egyptian Hieroglyph A059
- π U+13045 Egyptian Hieroglyph A060
- π U+13046 Egyptian Hieroglyph A061
- π U+13047 Egyptian Hieroglyph A062
- π U+13048 Egyptian Hieroglyph A063
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+13040?
- F0 93 81 80 (hex), 4 bytes. In a URL it is %F0%93%81%80.
- How do I write U+13040 in JavaScript or Python?
- JavaScript: \u{13040} or \uD80C\uDC40. Python: \U00013040.
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