π is the Unicode character OLD PERMIC LETTER E, code point U+10354 (decimal 66388) in the Old Permic block, added in Unicode 7.0. In HTML write 𐍔, and in UTF-8 it is the 4 bytes F0 90 8D 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10354 |
| Decimal | 66388 |
| UTF-8 bytes | F0 90 8D 94 |
| UTF-16 (big-endian) | D800 DF54 |
| UTF-32 | 00010354 |
| HTML decimal | 𐍔 |
| HTML hex | 𐍔 |
| CSS | \10354 |
| JavaScript | \u{10354} or \uD800\uDF54 |
| JSON | \uD800\uDF54 |
| Python | \U00010354 |
| Python by name | \N{OLD PERMIC LETTER E} |
| Java, C# | \uD800\uDF54 |
| Rust, Swift | \u{10354} |
| Go, C, C++ | \U00010354 |
| URL (percent-encoded) | %F0%90%8D%94 |
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 | OLD PERMIC LETTER E |
| Code point | U+10354 (decimal 66388) |
| Block | Old Permic (U+10350βU+1037F) |
| General category | Lo: Other letter |
| Script | Old Permic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Old Permic
- π U+10350 Old Permic Letter An
- π U+10351 Old Permic Letter Bur
- π U+10352 Old Permic Letter Gai
- π U+10353 Old Permic Letter Doi
- π U+10355 Old Permic Letter Zhoi
- π U+10356 Old Permic Letter Dzhoi
- π U+10357 Old Permic Letter Zata
- π U+10358 Old Permic Letter Dzita
- π U+10359 Old Permic Letter I
- π U+1035A Old Permic Letter Koke
- π U+1035B Old Permic Letter Lei
- π U+1035C Old Permic Letter Menoe
All 43 characters: Old Permic.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐍔 (decimal) or 𐍔 (hex).
- What is the UTF-8 encoding of U+10354?
- F0 90 8D 94 (hex), 4 bytes. In a URL it is %F0%90%8D%94.
- How do I write U+10354 in JavaScript or Python?
- JavaScript: \u{10354} or \uD800\uDF54. Python: \U00010354.
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