π is the Unicode character EGYPTIAN HIEROGLYPH G012, code point U+1314E (decimal 78158) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓅎, and in UTF-8 it is the 4 bytes F0 93 85 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1314E |
| Decimal | 78158 |
| UTF-8 bytes | F0 93 85 8E |
| UTF-16 (big-endian) | D80C DD4E |
| UTF-32 | 0001314E |
| HTML decimal | 𓅎 |
| HTML hex | 𓅎 |
| CSS | \1314E |
| JavaScript | \u{1314E} or \uD80C\uDD4E |
| JSON | \uD80C\uDD4E |
| Python | \U0001314E |
| Python by name | \N{EGYPTIAN HIEROGLYPH G012} |
| Java, C# | \uD80C\uDD4E |
| Rust, Swift | \u{1314E} |
| Go, C, C++ | \U0001314E |
| URL (percent-encoded) | %F0%93%85%8E |
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 G012 |
| Code point | U+1314E (decimal 78158) |
| 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+13146 Egyptian Hieroglyph G007
- π U+13147 Egyptian Hieroglyph G007a
- π U+13148 Egyptian Hieroglyph G007b
- π U+13149 Egyptian Hieroglyph G008
- π U+1314A Egyptian Hieroglyph G009
- π U+1314B Egyptian Hieroglyph G010
- π U+1314C Egyptian Hieroglyph G011
- π U+1314D Egyptian Hieroglyph G011a
- π U+1314F Egyptian Hieroglyph G013
- π U+13150 Egyptian Hieroglyph G014
- π U+13151 Egyptian Hieroglyph G015
- π U+13152 Egyptian Hieroglyph G016
- π U+13153 Egyptian Hieroglyph G017
- π U+13154 Egyptian Hieroglyph G018
- π U+13155 Egyptian Hieroglyph G019
- π U+13156 Egyptian Hieroglyph G020
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+1314E?
- F0 93 85 8E (hex), 4 bytes. In a URL it is %F0%93%85%8E.
- How do I write U+1314E in JavaScript or Python?
- JavaScript: \u{1314E} or \uD80C\uDD4E. Python: \U0001314E.
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