π is the Unicode character PHAISTOS DISC SIGN PLUMED HEAD, code point U+101D1 (decimal 66001) in the Phaistos Disc block, added in Unicode 5.1. In HTML write 𐇑, and in UTF-8 it is the 4 bytes F0 90 87 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+101D1 |
| Decimal | 66001 |
| UTF-8 bytes | F0 90 87 91 |
| UTF-16 (big-endian) | D800 DDD1 |
| UTF-32 | 000101D1 |
| HTML decimal | 𐇑 |
| HTML hex | 𐇑 |
| CSS | \101D1 |
| JavaScript | \u{101D1} or \uD800\uDDD1 |
| JSON | \uD800\uDDD1 |
| Python | \U000101D1 |
| Python by name | \N{PHAISTOS DISC SIGN PLUMED HEAD} |
| Java, C# | \uD800\uDDD1 |
| Rust, Swift | \u{101D1} |
| Go, C, C++ | \U000101D1 |
| URL (percent-encoded) | %F0%90%87%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 | PHAISTOS DISC SIGN PLUMED HEAD |
| Code point | U+101D1 (decimal 66001) |
| Block | Phaistos Disc (U+101D0βU+101FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.1 |
Nearby in Phaistos Disc
- π U+101D0 Phaistos Disc Sign Pedestrian
- π U+101D2 Phaistos Disc Sign Tattooed Head
- π U+101D3 Phaistos Disc Sign Captive
- π U+101D4 Phaistos Disc Sign Child
- π U+101D5 Phaistos Disc Sign Woman
- π U+101D6 Phaistos Disc Sign Helmet
- π U+101D7 Phaistos Disc Sign Gauntlet
- π U+101D8 Phaistos Disc Sign Tiara
- π U+101D9 Phaistos Disc Sign Arrow
All 46 characters: Phaistos Disc.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐇑 (decimal) or 𐇑 (hex).
- What is the UTF-8 encoding of U+101D1?
- F0 90 87 91 (hex), 4 bytes. In a URL it is %F0%90%87%91.
- How do I write U+101D1 in JavaScript or Python?
- JavaScript: \u{101D1} or \uD800\uDDD1. Python: \U000101D1.
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