π is the Unicode character TAI YO LETTER LO, code point U+1E6D8 (decimal 124632) in the Tai Yo block, added in Unicode 17.0. In HTML write 𞛘, and in UTF-8 it is the 4 bytes F0 9E 9B 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E6D8 |
| Decimal | 124632 |
| UTF-8 bytes | F0 9E 9B 98 |
| UTF-16 (big-endian) | D839 DED8 |
| UTF-32 | 0001E6D8 |
| HTML decimal | 𞛘 |
| HTML hex | 𞛘 |
| CSS | \1E6D8 |
| JavaScript | \u{1E6D8} or \uD839\uDED8 |
| JSON | \uD839\uDED8 |
| Python | \U0001E6D8 |
| Python by name | \N{TAI YO LETTER LO} |
| Java, C# | \uD839\uDED8 |
| Rust, Swift | \u{1E6D8} |
| Go, C, C++ | \U0001E6D8 |
| URL (percent-encoded) | %F0%9E%9B%98 |
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 | TAI YO LETTER LO |
| Code point | U+1E6D8 (decimal 124632) |
| Block | Tai Yo (U+1E6C0βU+1E6FF) |
| General category | Lo: Other letter |
| Script | Tai Yo |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 17.0 |
Nearby in Tai Yo
- π U+1E6D0 Tai Yo Letter Bo
- π U+1E6D1 Tai Yo Letter Low Po
- π U+1E6D2 Tai Yo Letter High Po
- π U+1E6D3 Tai Yo Letter Pho
- π U+1E6D4 Tai Yo Letter Low Fo
- π U+1E6D5 Tai Yo Letter High Fo
- π U+1E6D6 Tai Yo Letter Mo
- π U+1E6D7 Tai Yo Letter Yo
- π U+1E6D9 Tai Yo Letter Vo
- π U+1E6DA Tai Yo Letter Low Ho
- π U+1E6DB Tai Yo Letter High Ho
- π U+1E6DC Tai Yo Letter Qo
- π U+1E6DD Tai Yo Letter Low Kvo
- π U+1E6DE Tai Yo Letter High Kvo
- π U+1E6E0 Tai Yo Letter Aa
- π‘ U+1E6E1 Tai Yo Letter I
All 55 characters: Tai Yo.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𞛘 (decimal) or 𞛘 (hex).
- What is the UTF-8 encoding of U+1E6D8?
- F0 9E 9B 98 (hex), 4 bytes. In a URL it is %F0%9E%9B%98.
- How do I write U+1E6D8 in JavaScript or Python?
- JavaScript: \u{1E6D8} or \uD839\uDED8. Python: \U0001E6D8.
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