π is the Unicode character EGYPTIAN HIEROGLYPH M026, code point U+131D7 (decimal 78295) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓇗, and in UTF-8 it is the 4 bytes F0 93 87 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+131D7 |
| Decimal | 78295 |
| UTF-8 bytes | F0 93 87 97 |
| UTF-16 (big-endian) | D80C DDD7 |
| UTF-32 | 000131D7 |
| HTML decimal | 𓇗 |
| HTML hex | 𓇗 |
| CSS | \131D7 |
| JavaScript | \u{131D7} or \uD80C\uDDD7 |
| JSON | \uD80C\uDDD7 |
| Python | \U000131D7 |
| Python by name | \N{EGYPTIAN HIEROGLYPH M026} |
| Java, C# | \uD80C\uDDD7 |
| Rust, Swift | \u{131D7} |
| Go, C, C++ | \U000131D7 |
| URL (percent-encoded) | %F0%93%87%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 M026 |
| Code point | U+131D7 (decimal 78295) |
| 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+131CF Egyptian Hieroglyph M020
- π U+131D0 Egyptian Hieroglyph M021
- π U+131D1 Egyptian Hieroglyph M022
- π U+131D2 Egyptian Hieroglyph M022a
- π U+131D3 Egyptian Hieroglyph M023
- π U+131D4 Egyptian Hieroglyph M024
- π U+131D5 Egyptian Hieroglyph M024a
- π U+131D6 Egyptian Hieroglyph M025
- π U+131D8 Egyptian Hieroglyph M027
- π U+131D9 Egyptian Hieroglyph M028
- π U+131DA Egyptian Hieroglyph M028a
- π U+131DB Egyptian Hieroglyph M029
- π U+131DC Egyptian Hieroglyph M030
- π U+131DD Egyptian Hieroglyph M031
- π U+131DE Egyptian Hieroglyph M031a
- π U+131DF Egyptian Hieroglyph M032
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+131D7?
- F0 93 87 97 (hex), 4 bytes. In a URL it is %F0%93%87%97.
- How do I write U+131D7 in JavaScript or Python?
- JavaScript: \u{131D7} or \uD80C\uDDD7. Python: \U000131D7.
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