π is the Unicode character OSAGE CAPITAL LETTER O, code point U+104C2 (decimal 66754) in the Osage block, added in Unicode 9.0. In HTML write 𐓂, and in UTF-8 it is the 4 bytes F0 90 93 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+104C2 |
| Decimal | 66754 |
| UTF-8 bytes | F0 90 93 82 |
| UTF-16 (big-endian) | D801 DCC2 |
| UTF-32 | 000104C2 |
| HTML decimal | 𐓂 |
| HTML hex | 𐓂 |
| CSS | \104C2 |
| JavaScript | \u{104C2} or \uD801\uDCC2 |
| JSON | \uD801\uDCC2 |
| Python | \U000104C2 |
| Python by name | \N{OSAGE CAPITAL LETTER O} |
| Java, C# | \uD801\uDCC2 |
| Rust, Swift | \u{104C2} |
| Go, C, C++ | \U000104C2 |
| URL (percent-encoded) | %F0%90%93%82 |
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 O |
| Code point | U+104C2 (decimal 66754) |
| 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+104EA Osage Small Letter O β Lowercase
Nearby in Osage
- πΊ U+104BA Osage Capital Letter Hya
- π» U+104BB Osage Capital Letter I
- πΌ U+104BC Osage Capital Letter Ka
- π½ U+104BD Osage Capital Letter Ehka
- πΎ U+104BE Osage Capital Letter Kya
- πΏ U+104BF Osage Capital Letter La
- π U+104C0 Osage Capital Letter Ma
- π U+104C1 Osage Capital Letter Na
- π U+104C3 Osage Capital Letter Oin
- π U+104C4 Osage Capital Letter Pa
- π 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
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+104C2?
- F0 90 93 82 (hex), 4 bytes. In a URL it is %F0%90%93%82.
- How do I write U+104C2 in JavaScript or Python?
- JavaScript: \u{104C2} or \uD801\uDCC2. Python: \U000104C2.
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