π is the Unicode character EGYPTIAN HIEROGLYPH S040, code point U+13300 (decimal 78592) 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 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+13300 |
| Decimal | 78592 |
| UTF-8 bytes | F0 93 8C 80 |
| UTF-16 (big-endian) | D80C DF00 |
| UTF-32 | 00013300 |
| HTML decimal | 𓌀 |
| HTML hex | 𓌀 |
| CSS | \13300 |
| JavaScript | \u{13300} or \uD80C\uDF00 |
| JSON | \uD80C\uDF00 |
| Python | \U00013300 |
| Python by name | \N{EGYPTIAN HIEROGLYPH S040} |
| Java, C# | \uD80C\uDF00 |
| Rust, Swift | \u{13300} |
| Go, C, C++ | \U00013300 |
| URL (percent-encoded) | %F0%93%8C%80 |
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 S040 |
| Code point | U+13300 (decimal 78592) |
| 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+132F8 Egyptian Hieroglyph S033
- πΉ U+132F9 Egyptian Hieroglyph S034
- πΊ U+132FA Egyptian Hieroglyph S035
- π» U+132FB Egyptian Hieroglyph S035a
- πΌ U+132FC Egyptian Hieroglyph S036
- π½ U+132FD Egyptian Hieroglyph S037
- πΎ U+132FE Egyptian Hieroglyph S038
- πΏ U+132FF Egyptian Hieroglyph S039
- π U+13301 Egyptian Hieroglyph S041
- π U+13302 Egyptian Hieroglyph S042
- π U+13303 Egyptian Hieroglyph S043
- π U+13304 Egyptian Hieroglyph S044
- π U+13305 Egyptian Hieroglyph S045
- π U+13306 Egyptian Hieroglyph S046
- π U+13307 Egyptian Hieroglyph T001
- π U+13308 Egyptian Hieroglyph T002
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+13300?
- F0 93 8C 80 (hex), 4 bytes. In a URL it is %F0%93%8C%80.
- How do I write U+13300 in JavaScript or Python?
- JavaScript: \u{13300} or \uD80C\uDF00. Python: \U00013300.
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