π is the Unicode character DESERET CAPITAL LETTER WU, code point U+1040E (decimal 66574) in the Deseret block, added in Unicode 3.1. In HTML write 𐐎, and in UTF-8 it is the 4 bytes F0 90 90 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1040E |
| Decimal | 66574 |
| UTF-8 bytes | F0 90 90 8E |
| UTF-16 (big-endian) | D801 DC0E |
| UTF-32 | 0001040E |
| HTML decimal | 𐐎 |
| HTML hex | 𐐎 |
| CSS | \1040E |
| JavaScript | \u{1040E} or \uD801\uDC0E |
| JSON | \uD801\uDC0E |
| Python | \U0001040E |
| Python by name | \N{DESERET CAPITAL LETTER WU} |
| Java, C# | \uD801\uDC0E |
| Rust, Swift | \u{1040E} |
| Go, C, C++ | \U0001040E |
| URL (percent-encoded) | %F0%90%90%8E |
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 WU |
| Code point | U+1040E (decimal 66574) |
| 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+10436 Deseret Small Letter Wu β Lowercase
Nearby in Deseret
- π U+10406 Deseret Capital Letter Short I
- π 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+1040F Deseret Capital Letter Yee
- π 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
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+1040E?
- F0 90 90 8E (hex), 4 bytes. In a URL it is %F0%90%90%8E.
- How do I write U+1040E in JavaScript or Python?
- JavaScript: \u{1040E} or \uD801\uDC0E. Python: \U0001040E.
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