π is the Unicode character TAI YO LETTER CO, code point U+1E6C6 (decimal 124614) 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 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E6C6 |
| Decimal | 124614 |
| UTF-8 bytes | F0 9E 9B 86 |
| UTF-16 (big-endian) | D839 DEC6 |
| UTF-32 | 0001E6C6 |
| HTML decimal | 𞛆 |
| HTML hex | 𞛆 |
| CSS | \1E6C6 |
| JavaScript | \u{1E6C6} or \uD839\uDEC6 |
| JSON | \uD839\uDEC6 |
| Python | \U0001E6C6 |
| Python by name | \N{TAI YO LETTER CO} |
| Java, C# | \uD839\uDEC6 |
| Rust, Swift | \u{1E6C6} |
| Go, C, C++ | \U0001E6C6 |
| URL (percent-encoded) | %F0%9E%9B%86 |
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 CO |
| Code point | U+1E6C6 (decimal 124614) |
| 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+1E6C0 Tai Yo Letter Low Ko
- π U+1E6C1 Tai Yo Letter High Ko
- π U+1E6C2 Tai Yo Letter Low Kho
- π U+1E6C3 Tai Yo Letter High Kho
- π U+1E6C4 Tai Yo Letter Go
- π U+1E6C5 Tai Yo Letter Ngo
- π U+1E6C7 Tai Yo Letter Low Xo
- π U+1E6C8 Tai Yo Letter High Xo
- π U+1E6C9 Tai Yo Letter Low Nyo
- π U+1E6CA Tai Yo Letter High Nyo
- π U+1E6CB Tai Yo Letter Do
- π U+1E6CC Tai Yo Letter Low To
- π U+1E6CD Tai Yo Letter High To
- π U+1E6CE Tai Yo Letter Tho
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+1E6C6?
- F0 9E 9B 86 (hex), 4 bytes. In a URL it is %F0%9E%9B%86.
- How do I write U+1E6C6 in JavaScript or Python?
- JavaScript: \u{1E6C6} or \uD839\uDEC6. Python: \U0001E6C6.
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