π is the Unicode character EGYPTIAN HIEROGLYPH M022, code point U+131D1 (decimal 78289) 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 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+131D1 |
| Decimal | 78289 |
| UTF-8 bytes | F0 93 87 91 |
| UTF-16 (big-endian) | D80C DDD1 |
| UTF-32 | 000131D1 |
| HTML decimal | 𓇑 |
| HTML hex | 𓇑 |
| CSS | \131D1 |
| JavaScript | \u{131D1} or \uD80C\uDDD1 |
| JSON | \uD80C\uDDD1 |
| Python | \U000131D1 |
| Python by name | \N{EGYPTIAN HIEROGLYPH M022} |
| Java, C# | \uD80C\uDDD1 |
| Rust, Swift | \u{131D1} |
| Go, C, C++ | \U000131D1 |
| URL (percent-encoded) | %F0%93%87%91 |
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 M022 |
| Code point | U+131D1 (decimal 78289) |
| 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+131C9 Egyptian Hieroglyph M016
- π U+131CA Egyptian Hieroglyph M016a
- π U+131CB Egyptian Hieroglyph M017
- π U+131CC Egyptian Hieroglyph M017a
- π U+131CD Egyptian Hieroglyph M018
- π U+131CE Egyptian Hieroglyph M019
- π U+131CF Egyptian Hieroglyph M020
- π U+131D0 Egyptian Hieroglyph M021
- π 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+131D7 Egyptian Hieroglyph M026
- π U+131D8 Egyptian Hieroglyph M027
- π U+131D9 Egyptian Hieroglyph M028
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+131D1?
- F0 93 87 91 (hex), 4 bytes. In a URL it is %F0%93%87%91.
- How do I write U+131D1 in JavaScript or Python?
- JavaScript: \u{131D1} or \uD80C\uDDD1. Python: \U000131D1.
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