π is the Unicode character DESERET CAPITAL LETTER YEE, code point U+1040F (decimal 66575) in the Deseret block, added in Unicode 3.1. In HTML write 𐐏, and in UTF-8 it is the 4 bytes F0 90 90 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1040F |
| Decimal | 66575 |
| UTF-8 bytes | F0 90 90 8F |
| UTF-16 (big-endian) | D801 DC0F |
| UTF-32 | 0001040F |
| HTML decimal | 𐐏 |
| HTML hex | 𐐏 |
| CSS | \1040F |
| JavaScript | \u{1040F} or \uD801\uDC0F |
| JSON | \uD801\uDC0F |
| Python | \U0001040F |
| Python by name | \N{DESERET CAPITAL LETTER YEE} |
| Java, C# | \uD801\uDC0F |
| Rust, Swift | \u{1040F} |
| Go, C, C++ | \U0001040F |
| URL (percent-encoded) | %F0%90%90%8F |
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 | DESERET CAPITAL LETTER YEE |
| Code point | U+1040F (decimal 66575) |
| Block | Deseret (U+10400βU+1044F) |
| General category | Lu: Uppercase letter |
| Script | Deseret |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Upper and lower case
- π· U+10437 Deseret Small Letter Yee β Lowercase
Nearby in Deseret
- π U+10407 Deseret Capital Letter Short E
- π U+10408 Deseret Capital Letter Short A
- π U+10409 Deseret Capital Letter Short Ah
- π U+1040A Deseret Capital Letter Short O
- π U+1040B Deseret Capital Letter Short Oo
- π U+1040C Deseret Capital Letter Ay
- π U+1040D Deseret Capital Letter Ow
- π U+1040E Deseret Capital Letter Wu
- π U+10410 Deseret Capital Letter H
- π U+10411 Deseret Capital Letter Pee
- π U+10412 Deseret Capital Letter Bee
- π U+10413 Deseret Capital Letter Tee
- π U+10414 Deseret Capital Letter Dee
- π U+10415 Deseret Capital Letter Chee
- π U+10416 Deseret Capital Letter Jee
- π U+10417 Deseret Capital Letter Kay
All 80 characters: Deseret.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐐏 (decimal) or 𐐏 (hex).
- What is the UTF-8 encoding of U+1040F?
- F0 90 90 8F (hex), 4 bytes. In a URL it is %F0%90%90%8F.
- How do I write U+1040F in JavaScript or Python?
- JavaScript: \u{1040F} or \uD801\uDC0F. Python: \U0001040F.
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