π is the Unicode character EGYPTIAN HIEROGLYPH M027, code point U+131D8 (decimal 78296) 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 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+131D8 |
| Decimal | 78296 |
| UTF-8 bytes | F0 93 87 98 |
| UTF-16 (big-endian) | D80C DDD8 |
| UTF-32 | 000131D8 |
| HTML decimal | 𓇘 |
| HTML hex | 𓇘 |
| CSS | \131D8 |
| JavaScript | \u{131D8} or \uD80C\uDDD8 |
| JSON | \uD80C\uDDD8 |
| Python | \U000131D8 |
| Python by name | \N{EGYPTIAN HIEROGLYPH M027} |
| Java, C# | \uD80C\uDDD8 |
| Rust, Swift | \u{131D8} |
| Go, C, C++ | \U000131D8 |
| URL (percent-encoded) | %F0%93%87%98 |
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 M027 |
| Code point | U+131D8 (decimal 78296) |
| 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+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+131D7 Egyptian Hieroglyph M026
- π 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
- π U+131E0 Egyptian Hieroglyph M033
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+131D8?
- F0 93 87 98 (hex), 4 bytes. In a URL it is %F0%93%87%98.
- How do I write U+131D8 in JavaScript or Python?
- JavaScript: \u{131D8} or \uD80C\uDDD8. Python: \U000131D8.
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