π is the Unicode character PHAISTOS DISC SIGN SAW, code point U+101DF (decimal 66015) 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 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+101DF |
| Decimal | 66015 |
| UTF-8 bytes | F0 90 87 9F |
| UTF-16 (big-endian) | D800 DDDF |
| UTF-32 | 000101DF |
| HTML decimal | 𐇟 |
| HTML hex | 𐇟 |
| CSS | \101DF |
| JavaScript | \u{101DF} or \uD800\uDDDF |
| JSON | \uD800\uDDDF |
| Python | \U000101DF |
| Python by name | \N{PHAISTOS DISC SIGN SAW} |
| Java, C# | \uD800\uDDDF |
| Rust, Swift | \u{101DF} |
| Go, C, C++ | \U000101DF |
| URL (percent-encoded) | %F0%90%87%9F |
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 SAW |
| Code point | U+101DF (decimal 66015) |
| 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+101D7 Phaistos Disc Sign Gauntlet
- π U+101D8 Phaistos Disc Sign Tiara
- π U+101D9 Phaistos Disc Sign Arrow
- π U+101DA Phaistos Disc Sign Bow
- π U+101DB Phaistos Disc Sign Shield
- π U+101DC Phaistos Disc Sign Club
- π U+101DD Phaistos Disc Sign Manacles
- π U+101DE Phaistos Disc Sign Mattock
- π U+101E0 Phaistos Disc Sign Lid
- π‘ U+101E1 Phaistos Disc Sign Boomerang
- π’ U+101E2 Phaistos Disc Sign Carpentry Plane
- π£ U+101E3 Phaistos Disc Sign Dolium
- π€ U+101E4 Phaistos Disc Sign Comb
- π₯ U+101E5 Phaistos Disc Sign Sling
- π¦ U+101E6 Phaistos Disc Sign Column
- π§ U+101E7 Phaistos Disc Sign Beehive
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+101DF?
- F0 90 87 9F (hex), 4 bytes. In a URL it is %F0%90%87%9F.
- How do I write U+101DF in JavaScript or Python?
- JavaScript: \u{101DF} or \uD800\uDDDF. Python: \U000101DF.
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