π is the Unicode character EGYPTIAN HIEROGLYPH S004, code point U+132D5 (decimal 78549) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓋕, and in UTF-8 it is the 4 bytes F0 93 8B 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+132D5 |
| Decimal | 78549 |
| UTF-8 bytes | F0 93 8B 95 |
| UTF-16 (big-endian) | D80C DED5 |
| UTF-32 | 000132D5 |
| HTML decimal | 𓋕 |
| HTML hex | 𓋕 |
| CSS | \132D5 |
| JavaScript | \u{132D5} or \uD80C\uDED5 |
| JSON | \uD80C\uDED5 |
| Python | \U000132D5 |
| Python by name | \N{EGYPTIAN HIEROGLYPH S004} |
| Java, C# | \uD80C\uDED5 |
| Rust, Swift | \u{132D5} |
| Go, C, C++ | \U000132D5 |
| URL (percent-encoded) | %F0%93%8B%95 |
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 S004 |
| Code point | U+132D5 (decimal 78549) |
| 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+132CD Egyptian Hieroglyph R026
- π U+132CE Egyptian Hieroglyph R027
- π U+132CF Egyptian Hieroglyph R028
- π U+132D0 Egyptian Hieroglyph R029
- π U+132D1 Egyptian Hieroglyph S001
- π U+132D2 Egyptian Hieroglyph S002
- π U+132D3 Egyptian Hieroglyph S002a
- π U+132D4 Egyptian Hieroglyph S003
- π U+132D6 Egyptian Hieroglyph S005
- π U+132D7 Egyptian Hieroglyph S006
- π U+132D8 Egyptian Hieroglyph S006a
- π U+132D9 Egyptian Hieroglyph S007
- π U+132DA Egyptian Hieroglyph S008
- π U+132DB Egyptian Hieroglyph S009
- π U+132DC Egyptian Hieroglyph S010
- π U+132DD Egyptian Hieroglyph S011
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+132D5?
- F0 93 8B 95 (hex), 4 bytes. In a URL it is %F0%93%8B%95.
- How do I write U+132D5 in JavaScript or Python?
- JavaScript: \u{132D5} or \uD80C\uDED5. Python: \U000132D5.
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