π is the Unicode character OSMANYA LETTER FA, code point U+1048D (decimal 66701) in the Osmanya block, added in Unicode 4.0. In HTML write 𐒍, and in UTF-8 it is the 4 bytes F0 90 92 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1048D |
| Decimal | 66701 |
| UTF-8 bytes | F0 90 92 8D |
| UTF-16 (big-endian) | D801 DC8D |
| UTF-32 | 0001048D |
| HTML decimal | 𐒍 |
| HTML hex | 𐒍 |
| CSS | \1048D |
| JavaScript | \u{1048D} or \uD801\uDC8D |
| JSON | \uD801\uDC8D |
| Python | \U0001048D |
| Python by name | \N{OSMANYA LETTER FA} |
| Java, C# | \uD801\uDC8D |
| Rust, Swift | \u{1048D} |
| Go, C, C++ | \U0001048D |
| URL (percent-encoded) | %F0%90%92%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 | OSMANYA LETTER FA |
| Code point | U+1048D (decimal 66701) |
| 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+10485 Osmanya Letter Kha
- π U+10486 Osmanya Letter Deel
- π U+10487 Osmanya Letter Ra
- π U+10488 Osmanya Letter Sa
- π U+10489 Osmanya Letter Shiin
- π U+1048A Osmanya Letter Dha
- π U+1048B Osmanya Letter Cayn
- π U+1048C Osmanya Letter Ga
- π U+1048E Osmanya Letter Qaaf
- π U+1048F Osmanya Letter Kaaf
- π U+10490 Osmanya Letter Laan
- π U+10491 Osmanya Letter Miin
- π U+10492 Osmanya Letter Nuun
- π U+10493 Osmanya Letter Waw
- π U+10494 Osmanya Letter Ha
- π U+10495 Osmanya Letter Ya
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+1048D?
- F0 90 92 8D (hex), 4 bytes. In a URL it is %F0%90%92%8D.
- How do I write U+1048D in JavaScript or Python?
- JavaScript: \u{1048D} or \uD801\uDC8D. Python: \U0001048D.
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