π is the Unicode character OSMANYA LETTER ALEF, code point U+10480 (decimal 66688) in the Osmanya block, added in Unicode 4.0. In HTML write 𐒀, and in UTF-8 it is the 4 bytes F0 90 92 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10480 |
| Decimal | 66688 |
| UTF-8 bytes | F0 90 92 80 |
| UTF-16 (big-endian) | D801 DC80 |
| UTF-32 | 00010480 |
| HTML decimal | 𐒀 |
| HTML hex | 𐒀 |
| CSS | \10480 |
| JavaScript | \u{10480} or \uD801\uDC80 |
| JSON | \uD801\uDC80 |
| Python | \U00010480 |
| Python by name | \N{OSMANYA LETTER ALEF} |
| Java, C# | \uD801\uDC80 |
| Rust, Swift | \u{10480} |
| Go, C, C++ | \U00010480 |
| URL (percent-encoded) | %F0%90%92%80 |
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 ALEF |
| Code point | U+10480 (decimal 66688) |
| 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+10481 Osmanya Letter Ba
- π U+10482 Osmanya Letter Ta
- π U+10483 Osmanya Letter Ja
- π U+10484 Osmanya Letter Xa
- π U+10485 Osmanya Letter Kha
- π U+10486 Osmanya Letter Deel
- π U+10487 Osmanya Letter Ra
- π U+10488 Osmanya Letter Sa
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+10480?
- F0 90 92 80 (hex), 4 bytes. In a URL it is %F0%90%92%80.
- How do I write U+10480 in JavaScript or Python?
- JavaScript: \u{10480} or \uD801\uDC80. Python: \U00010480.
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