π is the Unicode character EGYPTIAN HIEROGLYPH S042, code point U+13302 (decimal 78594) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓌂, and in UTF-8 it is the 4 bytes F0 93 8C 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13302 |
| Decimal | 78594 |
| UTF-8 bytes | F0 93 8C 82 |
| UTF-16 (big-endian) | D80C DF02 |
| UTF-32 | 00013302 |
| HTML decimal | 𓌂 |
| HTML hex | 𓌂 |
| CSS | \13302 |
| JavaScript | \u{13302} or \uD80C\uDF02 |
| JSON | \uD80C\uDF02 |
| Python | \U00013302 |
| Python by name | \N{EGYPTIAN HIEROGLYPH S042} |
| Java, C# | \uD80C\uDF02 |
| Rust, Swift | \u{13302} |
| Go, C, C++ | \U00013302 |
| URL (percent-encoded) | %F0%93%8C%82 |
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 S042 |
| Code point | U+13302 (decimal 78594) |
| 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+132FA Egyptian Hieroglyph S035
- π» U+132FB Egyptian Hieroglyph S035a
- πΌ U+132FC Egyptian Hieroglyph S036
- π½ U+132FD Egyptian Hieroglyph S037
- πΎ U+132FE Egyptian Hieroglyph S038
- πΏ U+132FF Egyptian Hieroglyph S039
- π U+13300 Egyptian Hieroglyph S040
- π U+13301 Egyptian Hieroglyph S041
- π U+13303 Egyptian Hieroglyph S043
- π U+13304 Egyptian Hieroglyph S044
- π U+13305 Egyptian Hieroglyph S045
- π U+13306 Egyptian Hieroglyph S046
- π U+13307 Egyptian Hieroglyph T001
- π U+13308 Egyptian Hieroglyph T002
- π U+13309 Egyptian Hieroglyph T003
- π U+1330A Egyptian Hieroglyph T003a
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+13302?
- F0 93 8C 82 (hex), 4 bytes. In a URL it is %F0%93%8C%82.
- How do I write U+13302 in JavaScript or Python?
- JavaScript: \u{13302} or \uD80C\uDF02. Python: \U00013302.
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