π is the Unicode character OL ONAL LETTER AL, code point U+1E5DA (decimal 124378) in the Ol Onal block, added in Unicode 16.0. In HTML write 𞗚, and in UTF-8 it is the 4 bytes F0 9E 97 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E5DA |
| Decimal | 124378 |
| UTF-8 bytes | F0 9E 97 9A |
| UTF-16 (big-endian) | D839 DDDA |
| UTF-32 | 0001E5DA |
| HTML decimal | 𞗚 |
| HTML hex | 𞗚 |
| CSS | \1E5DA |
| JavaScript | \u{1E5DA} or \uD839\uDDDA |
| JSON | \uD839\uDDDA |
| Python | \U0001E5DA |
| Python by name | \N{OL ONAL LETTER AL} |
| Java, C# | \uD839\uDDDA |
| Rust, Swift | \u{1E5DA} |
| Go, C, C++ | \U0001E5DA |
| URL (percent-encoded) | %F0%9E%97%9A |
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 | OL ONAL LETTER AL |
| Code point | U+1E5DA (decimal 124378) |
| Block | Ol Onal (U+1E5D0βU+1E5FF) |
| General category | Lo: Other letter |
| Script | Ol Onal |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Ol Onal
- π U+1E5D2 Ol Onal Letter Ong
- π U+1E5D3 Ol Onal Letter Orr
- π U+1E5D4 Ol Onal Letter Oo
- π U+1E5D5 Ol Onal Letter Oy
- π U+1E5D6 Ol Onal Letter A
- π U+1E5D7 Ol Onal Letter Ad
- π U+1E5D8 Ol Onal Letter Ab
- π U+1E5D9 Ol Onal Letter Ah
- π U+1E5DB Ol Onal Letter Aw
- π U+1E5DC Ol Onal Letter I
- π U+1E5DD Ol Onal Letter It
- π U+1E5DE Ol Onal Letter Ip
- π U+1E5DF Ol Onal Letter Itt
- π U+1E5E0 Ol Onal Letter Id
- π‘ U+1E5E1 Ol Onal Letter In
- π’ U+1E5E2 Ol Onal Letter U
All 44 characters: Ol Onal.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𞗚 (decimal) or 𞗚 (hex).
- What is the UTF-8 encoding of U+1E5DA?
- F0 9E 97 9A (hex), 4 bytes. In a URL it is %F0%9E%97%9A.
- How do I write U+1E5DA in JavaScript or Python?
- JavaScript: \u{1E5DA} or \uD839\uDDDA. Python: \U0001E5DA.
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