π is the Unicode character DESERET CAPITAL LETTER VEE, code point U+1041A (decimal 66586) in the Deseret block, added in Unicode 3.1. In HTML write 𐐚, and in UTF-8 it is the 4 bytes F0 90 90 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1041A |
| Decimal | 66586 |
| UTF-8 bytes | F0 90 90 9A |
| UTF-16 (big-endian) | D801 DC1A |
| UTF-32 | 0001041A |
| HTML decimal | 𐐚 |
| HTML hex | 𐐚 |
| CSS | \1041A |
| JavaScript | \u{1041A} or \uD801\uDC1A |
| JSON | \uD801\uDC1A |
| Python | \U0001041A |
| Python by name | \N{DESERET CAPITAL LETTER VEE} |
| Java, C# | \uD801\uDC1A |
| Rust, Swift | \u{1041A} |
| Go, C, C++ | \U0001041A |
| URL (percent-encoded) | %F0%90%90%9A |
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 VEE |
| Code point | U+1041A (decimal 66586) |
| 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+10442 Deseret Small Letter Vee β Lowercase
Nearby in Deseret
- π 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
- π U+10418 Deseret Capital Letter Gay
- π U+10419 Deseret Capital Letter Ef
- π U+1041B Deseret Capital Letter Eth
- π U+1041C Deseret Capital Letter Thee
- π U+1041D Deseret Capital Letter Es
- π U+1041E Deseret Capital Letter Zee
- π U+1041F Deseret Capital Letter Esh
- π U+10420 Deseret Capital Letter Zhee
- π‘ U+10421 Deseret Capital Letter Er
- π’ U+10422 Deseret Capital Letter El
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+1041A?
- F0 90 90 9A (hex), 4 bytes. In a URL it is %F0%90%90%9A.
- How do I write U+1041A in JavaScript or Python?
- JavaScript: \u{1041A} or \uD801\uDC1A. Python: \U0001041A.
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