π is the Unicode character OSMANYA LETTER AA, code point U+1049B (decimal 66715) in the Osmanya block, added in Unicode 4.0. In HTML write 𐒛, and in UTF-8 it is the 4 bytes F0 90 92 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1049B |
| Decimal | 66715 |
| UTF-8 bytes | F0 90 92 9B |
| UTF-16 (big-endian) | D801 DC9B |
| UTF-32 | 0001049B |
| HTML decimal | 𐒛 |
| HTML hex | 𐒛 |
| CSS | \1049B |
| JavaScript | \u{1049B} or \uD801\uDC9B |
| JSON | \uD801\uDC9B |
| Python | \U0001049B |
| Python by name | \N{OSMANYA LETTER AA} |
| Java, C# | \uD801\uDC9B |
| Rust, Swift | \u{1049B} |
| Go, C, C++ | \U0001049B |
| URL (percent-encoded) | %F0%90%92%9B |
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 LETTER AA |
| Code point | U+1049B (decimal 66715) |
| Block | Osmanya (U+10480βU+104AF) |
| General category | Lo: Other letter |
| Script | Osmanya |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Osmanya
- π U+10493 Osmanya Letter Waw
- π U+10494 Osmanya Letter Ha
- π U+10495 Osmanya Letter Ya
- π 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+1049C Osmanya Letter Ee
- π U+1049D Osmanya Letter Oo
- π U+104A0 Osmanya Digit Zero
- π‘ 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
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+1049B?
- F0 90 92 9B (hex), 4 bytes. In a URL it is %F0%90%92%9B.
- How do I write U+1049B in JavaScript or Python?
- JavaScript: \u{1049B} or \uD801\uDC9B. Python: \U0001049B.
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