π is the Unicode character EGYPTIAN HIEROGLYPH A015, code point U+13012 (decimal 77842) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓀒, and in UTF-8 it is the 4 bytes F0 93 80 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13012 |
| Decimal | 77842 |
| UTF-8 bytes | F0 93 80 92 |
| UTF-16 (big-endian) | D80C DC12 |
| UTF-32 | 00013012 |
| HTML decimal | 𓀒 |
| HTML hex | 𓀒 |
| CSS | \13012 |
| JavaScript | \u{13012} or \uD80C\uDC12 |
| JSON | \uD80C\uDC12 |
| Python | \U00013012 |
| Python by name | \N{EGYPTIAN HIEROGLYPH A015} |
| Java, C# | \uD80C\uDC12 |
| Rust, Swift | \u{13012} |
| Go, C, C++ | \U00013012 |
| URL (percent-encoded) | %F0%93%80%92 |
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 A015 |
| Code point | U+13012 (decimal 77842) |
| 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+1300A Egyptian Hieroglyph A008
- π U+1300B Egyptian Hieroglyph A009
- π U+1300C Egyptian Hieroglyph A010
- π U+1300D Egyptian Hieroglyph A011
- π U+1300E Egyptian Hieroglyph A012
- π U+1300F Egyptian Hieroglyph A013
- π U+13010 Egyptian Hieroglyph A014
- π U+13011 Egyptian Hieroglyph A014a
- π U+13013 Egyptian Hieroglyph A016
- π U+13014 Egyptian Hieroglyph A017
- π U+13015 Egyptian Hieroglyph A017a
- π U+13016 Egyptian Hieroglyph A018
- π U+13017 Egyptian Hieroglyph A019
- π U+13018 Egyptian Hieroglyph A020
- π U+13019 Egyptian Hieroglyph A021
- π U+1301A Egyptian Hieroglyph A022
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+13012?
- F0 93 80 92 (hex), 4 bytes. In a URL it is %F0%93%80%92.
- How do I write U+13012 in JavaScript or Python?
- JavaScript: \u{13012} or \uD80C\uDC12. Python: \U00013012.
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