π is the Unicode character EGYPTIAN HIEROGLYPH T016, code point U+1331B (decimal 78619) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓌛, and in UTF-8 it is the 4 bytes F0 93 8C 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1331B |
| Decimal | 78619 |
| UTF-8 bytes | F0 93 8C 9B |
| UTF-16 (big-endian) | D80C DF1B |
| UTF-32 | 0001331B |
| HTML decimal | 𓌛 |
| HTML hex | 𓌛 |
| CSS | \1331B |
| JavaScript | \u{1331B} or \uD80C\uDF1B |
| JSON | \uD80C\uDF1B |
| Python | \U0001331B |
| Python by name | \N{EGYPTIAN HIEROGLYPH T016} |
| Java, C# | \uD80C\uDF1B |
| Rust, Swift | \u{1331B} |
| Go, C, C++ | \U0001331B |
| URL (percent-encoded) | %F0%93%8C%9B |
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 T016 |
| Code point | U+1331B (decimal 78619) |
| 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+13313 Egyptian Hieroglyph T009a
- π U+13314 Egyptian Hieroglyph T010
- π U+13315 Egyptian Hieroglyph T011
- π U+13316 Egyptian Hieroglyph T011a
- π U+13317 Egyptian Hieroglyph T012
- π U+13318 Egyptian Hieroglyph T013
- π U+13319 Egyptian Hieroglyph T014
- π U+1331A Egyptian Hieroglyph T015
- π U+1331C Egyptian Hieroglyph T016a
- π U+1331D Egyptian Hieroglyph T017
- π U+1331E Egyptian Hieroglyph T018
- π U+1331F Egyptian Hieroglyph T019
- π U+13320 Egyptian Hieroglyph T020
- π‘ U+13321 Egyptian Hieroglyph T021
- π’ U+13322 Egyptian Hieroglyph T022
- π£ U+13323 Egyptian Hieroglyph T023
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+1331B?
- F0 93 8C 9B (hex), 4 bytes. In a URL it is %F0%93%8C%9B.
- How do I write U+1331B in JavaScript or Python?
- JavaScript: \u{1331B} or \uD80C\uDF1B. Python: \U0001331B.
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