π is the Unicode character EGYPTIAN HIEROGLYPH D020, code point U+1308A (decimal 77962) in the Egyptian Hieroglyphs block, added in Unicode 5.2. In HTML write 𓂊, and in UTF-8 it is the 4 bytes F0 93 82 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1308A |
| Decimal | 77962 |
| UTF-8 bytes | F0 93 82 8A |
| UTF-16 (big-endian) | D80C DC8A |
| UTF-32 | 0001308A |
| HTML decimal | 𓂊 |
| HTML hex | 𓂊 |
| CSS | \1308A |
| JavaScript | \u{1308A} or \uD80C\uDC8A |
| JSON | \uD80C\uDC8A |
| Python | \U0001308A |
| Python by name | \N{EGYPTIAN HIEROGLYPH D020} |
| Java, C# | \uD80C\uDC8A |
| Rust, Swift | \u{1308A} |
| Go, C, C++ | \U0001308A |
| URL (percent-encoded) | %F0%93%82%8A |
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 D020 |
| Code point | U+1308A (decimal 77962) |
| 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+13082 Egyptian Hieroglyph D012
- π U+13083 Egyptian Hieroglyph D013
- π U+13084 Egyptian Hieroglyph D014
- π U+13085 Egyptian Hieroglyph D015
- π U+13086 Egyptian Hieroglyph D016
- π U+13087 Egyptian Hieroglyph D017
- π U+13088 Egyptian Hieroglyph D018
- π U+13089 Egyptian Hieroglyph D019
- π U+1308B Egyptian Hieroglyph D021
- π U+1308C Egyptian Hieroglyph D022
- π U+1308D Egyptian Hieroglyph D023
- π U+1308E Egyptian Hieroglyph D024
- π U+1308F Egyptian Hieroglyph D025
- π U+13090 Egyptian Hieroglyph D026
- π U+13091 Egyptian Hieroglyph D027
- π U+13092 Egyptian Hieroglyph D027a
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+1308A?
- F0 93 82 8A (hex), 4 bytes. In a URL it is %F0%93%82%8A.
- How do I write U+1308A in JavaScript or Python?
- JavaScript: \u{1308A} or \uD80C\uDC8A. Python: \U0001308A.
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