π is the Unicode character WANCHO LETTER LA, code point U+1E2C8 (decimal 123592) in the Wancho block, added in Unicode 12.0. In HTML write 𞋈, and in UTF-8 it is the 4 bytes F0 9E 8B 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E2C8 |
| Decimal | 123592 |
| UTF-8 bytes | F0 9E 8B 88 |
| UTF-16 (big-endian) | D838 DEC8 |
| UTF-32 | 0001E2C8 |
| HTML decimal | 𞋈 |
| HTML hex | 𞋈 |
| CSS | \1E2C8 |
| JavaScript | \u{1E2C8} or \uD838\uDEC8 |
| JSON | \uD838\uDEC8 |
| Python | \U0001E2C8 |
| Python by name | \N{WANCHO LETTER LA} |
| Java, C# | \uD838\uDEC8 |
| Rust, Swift | \u{1E2C8} |
| Go, C, C++ | \U0001E2C8 |
| URL (percent-encoded) | %F0%9E%8B%88 |
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 | WANCHO LETTER LA |
| Code point | U+1E2C8 (decimal 123592) |
| Block | Wancho (U+1E2C0βU+1E2FF) |
| General category | Lo: Other letter |
| Script | Wancho |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 12.0 |
Nearby in Wancho
- π U+1E2C0 Wancho Letter Aa
- π U+1E2C1 Wancho Letter A
- π U+1E2C2 Wancho Letter Ba
- π U+1E2C3 Wancho Letter Ca
- π U+1E2C4 Wancho Letter Da
- π U+1E2C5 Wancho Letter Ga
- π U+1E2C6 Wancho Letter Ya
- π U+1E2C7 Wancho Letter Pha
- π U+1E2C9 Wancho Letter Na
- π U+1E2CA Wancho Letter Pa
- π U+1E2CB Wancho Letter Ta
- π U+1E2CC Wancho Letter Tha
- π U+1E2CD Wancho Letter Fa
- π U+1E2CE Wancho Letter Sa
- π U+1E2CF Wancho Letter Sha
- π U+1E2D0 Wancho Letter Ja
All 59 characters: Wancho.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𞋈 (decimal) or 𞋈 (hex).
- What is the UTF-8 encoding of U+1E2C8?
- F0 9E 8B 88 (hex), 4 bytes. In a URL it is %F0%9E%8B%88.
- How do I write U+1E2C8 in JavaScript or Python?
- JavaScript: \u{1E2C8} or \uD838\uDEC8. Python: \U0001E2C8.
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