π is the Unicode character OL ONAL LETTER OY, code point U+1E5D5 (decimal 124373) 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 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E5D5 |
| Decimal | 124373 |
| UTF-8 bytes | F0 9E 97 95 |
| UTF-16 (big-endian) | D839 DDD5 |
| UTF-32 | 0001E5D5 |
| HTML decimal | 𞗕 |
| HTML hex | 𞗕 |
| CSS | \1E5D5 |
| JavaScript | \u{1E5D5} or \uD839\uDDD5 |
| JSON | \uD839\uDDD5 |
| Python | \U0001E5D5 |
| Python by name | \N{OL ONAL LETTER OY} |
| Java, C# | \uD839\uDDD5 |
| Rust, Swift | \u{1E5D5} |
| Go, C, C++ | \U0001E5D5 |
| URL (percent-encoded) | %F0%9E%97%95 |
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 OY |
| Code point | U+1E5D5 (decimal 124373) |
| 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+1E5D0 Ol Onal Letter O
- π U+1E5D1 Ol Onal Letter Om
- π U+1E5D2 Ol Onal Letter Ong
- π U+1E5D3 Ol Onal Letter Orr
- π U+1E5D4 Ol Onal Letter Oo
- π 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+1E5DA Ol Onal Letter Al
- π U+1E5DB Ol Onal Letter Aw
- π U+1E5DC Ol Onal Letter I
- π U+1E5DD Ol Onal Letter It
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+1E5D5?
- F0 9E 97 95 (hex), 4 bytes. In a URL it is %F0%9E%97%95.
- How do I write U+1E5D5 in JavaScript or Python?
- JavaScript: \u{1E5D5} or \uD839\uDDD5. Python: \U0001E5D5.
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