π is the Unicode character OSMANYA DIGIT ZERO, code point U+104A0 (decimal 66720) in the Osmanya block, added in Unicode 4.0. In HTML write 𐒠, and in UTF-8 it is the 4 bytes F0 90 92 A0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+104A0 |
| Decimal | 66720 |
| UTF-8 bytes | F0 90 92 A0 |
| UTF-16 (big-endian) | D801 DCA0 |
| UTF-32 | 000104A0 |
| HTML decimal | 𐒠 |
| HTML hex | 𐒠 |
| CSS | \104A0 |
| JavaScript | \u{104A0} or \uD801\uDCA0 |
| JSON | \uD801\uDCA0 |
| Python | \U000104A0 |
| Python by name | \N{OSMANYA DIGIT ZERO} |
| Java, C# | \uD801\uDCA0 |
| Rust, Swift | \u{104A0} |
| Go, C, C++ | \U000104A0 |
| URL (percent-encoded) | %F0%90%92%A0 |
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 | OSMANYA DIGIT ZERO |
| Code point | U+104A0 (decimal 66720) |
| Block | Osmanya (U+10480βU+104AF) |
| General category | Nd: Decimal digit |
| Script | Osmanya |
| Bidirectional class | L: Left-to-right |
| Numeric value | 0 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Osmanya
- π U+10496 Osmanya Letter A
- π U+10497 Osmanya Letter E
- π U+10498 Osmanya Letter I
- π U+10499 Osmanya Letter O
- π U+1049A Osmanya Letter U
- π U+1049B Osmanya Letter Aa
- π U+1049C Osmanya Letter Ee
- π U+1049D Osmanya Letter Oo
- π‘ U+104A1 Osmanya Digit One
- π’ U+104A2 Osmanya Digit Two
- π£ U+104A3 Osmanya Digit Three
- π€ U+104A4 Osmanya Digit Four
- π₯ U+104A5 Osmanya Digit Five
- π¦ U+104A6 Osmanya Digit Six
- π§ U+104A7 Osmanya Digit Seven
- π¨ U+104A8 Osmanya Digit Eight
All 40 characters: Osmanya.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𐒠 (decimal) or 𐒠 (hex).
- What is the UTF-8 encoding of U+104A0?
- F0 90 92 A0 (hex), 4 bytes. In a URL it is %F0%90%92%A0.
- How do I write U+104A0 in JavaScript or Python?
- JavaScript: \u{104A0} or \uD801\uDCA0. Python: \U000104A0.
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