π is the Unicode character OSAGE CAPITAL LETTER DHA, code point U+104CD (decimal 66765) in the Osage block, added in Unicode 9.0. In HTML write 𐓍, and in UTF-8 it is the 4 bytes F0 90 93 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+104CD |
| Decimal | 66765 |
| UTF-8 bytes | F0 90 93 8D |
| UTF-16 (big-endian) | D801 DCCD |
| UTF-32 | 000104CD |
| HTML decimal | 𐓍 |
| HTML hex | 𐓍 |
| CSS | \104CD |
| JavaScript | \u{104CD} or \uD801\uDCCD |
| JSON | \uD801\uDCCD |
| Python | \U000104CD |
| Python by name | \N{OSAGE CAPITAL LETTER DHA} |
| Java, C# | \uD801\uDCCD |
| Rust, Swift | \u{104CD} |
| Go, C, C++ | \U000104CD |
| URL (percent-encoded) | %F0%90%93%8D |
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 | OSAGE CAPITAL LETTER DHA |
| Code point | U+104CD (decimal 66765) |
| Block | Osage (U+104B0βU+104FF) |
| General category | Lu: Uppercase letter |
| Script | Osage |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 9.0 |
Upper and lower case
- π΅ U+104F5 Osage Small Letter Dha β Lowercase
Nearby in Osage
- π U+104C5 Osage Capital Letter Ehpa
- π U+104C6 Osage Capital Letter Sa
- π U+104C7 Osage Capital Letter Sha
- π U+104C8 Osage Capital Letter Ta
- π U+104C9 Osage Capital Letter Ehta
- π U+104CA Osage Capital Letter Tsa
- π U+104CB Osage Capital Letter Ehtsa
- π U+104CC Osage Capital Letter Tsha
- π U+104CE Osage Capital Letter U
- π U+104CF Osage Capital Letter Wa
- π U+104D0 Osage Capital Letter Kha
- π U+104D1 Osage Capital Letter Gha
- π U+104D2 Osage Capital Letter Za
- π U+104D3 Osage Capital Letter Zha
- π U+104D8 Osage Small Letter A
- π U+104D9 Osage Small Letter Ai
All 72 characters: Osage.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐓍 (decimal) or 𐓍 (hex).
- What is the UTF-8 encoding of U+104CD?
- F0 90 93 8D (hex), 4 bytes. In a URL it is %F0%90%93%8D.
- How do I write U+104CD in JavaScript or Python?
- JavaScript: \u{104CD} or \uD801\uDCCD. Python: \U000104CD.
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