π is the Unicode character DESERET CAPITAL LETTER BEE, code point U+10412 (decimal 66578) in the Deseret block, added in Unicode 3.1. In HTML write 𐐒, and in UTF-8 it is the 4 bytes F0 90 90 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10412 |
| Decimal | 66578 |
| UTF-8 bytes | F0 90 90 92 |
| UTF-16 (big-endian) | D801 DC12 |
| UTF-32 | 00010412 |
| HTML decimal | 𐐒 |
| HTML hex | 𐐒 |
| CSS | \10412 |
| JavaScript | \u{10412} or \uD801\uDC12 |
| JSON | \uD801\uDC12 |
| Python | \U00010412 |
| Python by name | \N{DESERET CAPITAL LETTER BEE} |
| Java, C# | \uD801\uDC12 |
| Rust, Swift | \u{10412} |
| Go, C, C++ | \U00010412 |
| URL (percent-encoded) | %F0%90%90%92 |
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 BEE |
| Code point | U+10412 (decimal 66578) |
| 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+1043A Deseret Small Letter Bee β Lowercase
Nearby in Deseret
- π 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+1040F Deseret Capital Letter Yee
- π U+10410 Deseret Capital Letter H
- π U+10411 Deseret Capital Letter Pee
- π 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
- π U+10418 Deseret Capital Letter Gay
- π U+10419 Deseret Capital Letter Ef
- π U+1041A Deseret Capital Letter Vee
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+10412?
- F0 90 90 92 (hex), 4 bytes. In a URL it is %F0%90%90%92.
- How do I write U+10412 in JavaScript or Python?
- JavaScript: \u{10412} or \uD801\uDC12. Python: \U00010412.
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