π is the Unicode character WANCHO LETTER U, code point U+1E2DE (decimal 123614) in the Wancho block, added in Unicode 12.0. In HTML write 𞋞, and in UTF-8 it is the 4 bytes F0 9E 8B 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E2DE |
| Decimal | 123614 |
| UTF-8 bytes | F0 9E 8B 9E |
| UTF-16 (big-endian) | D838 DEDE |
| UTF-32 | 0001E2DE |
| HTML decimal | 𞋞 |
| HTML hex | 𞋞 |
| CSS | \1E2DE |
| JavaScript | \u{1E2DE} or \uD838\uDEDE |
| JSON | \uD838\uDEDE |
| Python | \U0001E2DE |
| Python by name | \N{WANCHO LETTER U} |
| Java, C# | \uD838\uDEDE |
| Rust, Swift | \u{1E2DE} |
| Go, C, C++ | \U0001E2DE |
| URL (percent-encoded) | %F0%9E%8B%9E |
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 U |
| Code point | U+1E2DE (decimal 123614) |
| 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+1E2D6 Wancho Letter Au
- π U+1E2D7 Wancho Letter Ra
- π U+1E2D8 Wancho Letter Ma
- π U+1E2D9 Wancho Letter Kha
- π U+1E2DA Wancho Letter Ha
- π U+1E2DB Wancho Letter E
- π U+1E2DC Wancho Letter I
- π U+1E2DD Wancho Letter Nga
- π U+1E2DF Wancho Letter Llha
- π U+1E2E0 Wancho Letter Tsa
- π‘ U+1E2E1 Wancho Letter Tra
- π’ U+1E2E2 Wancho Letter Ong
- π£ U+1E2E3 Wancho Letter Aang
- π€ U+1E2E4 Wancho Letter Ang
- π₯ U+1E2E5 Wancho Letter Ing
- π¦ U+1E2E6 Wancho Letter On
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+1E2DE?
- F0 9E 8B 9E (hex), 4 bytes. In a URL it is %F0%9E%8B%9E.
- How do I write U+1E2DE in JavaScript or Python?
- JavaScript: \u{1E2DE} or \uD838\uDEDE. Python: \U0001E2DE.
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