π is the Unicode character EGYPTIAN HIEROGLYPH O001A, code point U+13251 (decimal 78417) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓉑, and in UTF-8 it is the 4 bytes F0 93 89 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13251 |
| Decimal | 78417 |
| UTF-8 bytes | F0 93 89 91 |
| UTF-16 (big-endian) | D80C DE51 |
| UTF-32 | 00013251 |
| HTML decimal | 𓉑 |
| HTML hex | 𓉑 |
| CSS | \13251 |
| JavaScript | \u{13251} or \uD80C\uDE51 |
| JSON | \uD80C\uDE51 |
| Python | \U00013251 |
| Python by name | \N{EGYPTIAN HIEROGLYPH O001A} |
| Java, C# | \uD80C\uDE51 |
| Rust, Swift | \u{13251} |
| Go, C, C++ | \U00013251 |
| URL (percent-encoded) | %F0%93%89%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 O001A |
| Code point | U+13251 (decimal 78417) |
| 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+13249 Egyptian Hieroglyph Nu018
- π U+1324A Egyptian Hieroglyph Nu018a
- π U+1324B Egyptian Hieroglyph Nu019
- π U+1324C Egyptian Hieroglyph Nu020
- π U+1324D Egyptian Hieroglyph Nu021
- π U+1324E Egyptian Hieroglyph Nu022
- π U+1324F Egyptian Hieroglyph Nu022a
- π U+13250 Egyptian Hieroglyph O001
- π U+13252 Egyptian Hieroglyph O002
- π U+13253 Egyptian Hieroglyph O003
- π U+13254 Egyptian Hieroglyph O004
- π U+13255 Egyptian Hieroglyph O005
- π U+13256 Egyptian Hieroglyph O005a
- π U+13257 Egyptian Hieroglyph O006
- π U+13258 Egyptian Hieroglyph O006a
- π U+13259 Egyptian Hieroglyph O006b
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+13251?
- F0 93 89 91 (hex), 4 bytes. In a URL it is %F0%93%89%91.
- How do I write U+13251 in JavaScript or Python?
- JavaScript: \u{13251} or \uD80C\uDE51. Python: \U00013251.
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