π is the Unicode character EGYPTIAN HIEROGLYPH D031A, code point U+13097 (decimal 77975) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓂗, and in UTF-8 it is the 4 bytes F0 93 82 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13097 |
| Decimal | 77975 |
| UTF-8 bytes | F0 93 82 97 |
| UTF-16 (big-endian) | D80C DC97 |
| UTF-32 | 00013097 |
| HTML decimal | 𓂗 |
| HTML hex | 𓂗 |
| CSS | \13097 |
| JavaScript | \u{13097} or \uD80C\uDC97 |
| JSON | \uD80C\uDC97 |
| Python | \U00013097 |
| Python by name | \N{EGYPTIAN HIEROGLYPH D031A} |
| Java, C# | \uD80C\uDC97 |
| Rust, Swift | \u{13097} |
| Go, C, C++ | \U00013097 |
| URL (percent-encoded) | %F0%93%82%97 |
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 D031A |
| Code point | U+13097 (decimal 77975) |
| 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+1308F Egyptian Hieroglyph D025
- π U+13090 Egyptian Hieroglyph D026
- π U+13091 Egyptian Hieroglyph D027
- π U+13092 Egyptian Hieroglyph D027a
- π U+13093 Egyptian Hieroglyph D028
- π U+13094 Egyptian Hieroglyph D029
- π U+13095 Egyptian Hieroglyph D030
- π U+13096 Egyptian Hieroglyph D031
- π U+13098 Egyptian Hieroglyph D032
- π U+13099 Egyptian Hieroglyph D033
- π U+1309A Egyptian Hieroglyph D034
- π U+1309B Egyptian Hieroglyph D034a
- π U+1309C Egyptian Hieroglyph D035
- π U+1309D Egyptian Hieroglyph D036
- π U+1309E Egyptian Hieroglyph D037
- π U+1309F Egyptian Hieroglyph D038
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+13097?
- F0 93 82 97 (hex), 4 bytes. In a URL it is %F0%93%82%97.
- How do I write U+13097 in JavaScript or Python?
- JavaScript: \u{13097} or \uD80C\uDC97. Python: \U00013097.
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