π is the Unicode character ELBASAN LETTER CHE, code point U+10503 (decimal 66819) in the Elbasan block, added in Unicode 7.0. In HTML write 𐔃, and in UTF-8 it is the 4 bytes F0 90 94 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10503 |
| Decimal | 66819 |
| UTF-8 bytes | F0 90 94 83 |
| UTF-16 (big-endian) | D801 DD03 |
| UTF-32 | 00010503 |
| HTML decimal | 𐔃 |
| HTML hex | 𐔃 |
| CSS | \10503 |
| JavaScript | \u{10503} or \uD801\uDD03 |
| JSON | \uD801\uDD03 |
| Python | \U00010503 |
| Python by name | \N{ELBASAN LETTER CHE} |
| Java, C# | \uD801\uDD03 |
| Rust, Swift | \u{10503} |
| Go, C, C++ | \U00010503 |
| URL (percent-encoded) | %F0%90%94%83 |
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 | ELBASAN LETTER CHE |
| Code point | U+10503 (decimal 66819) |
| Block | Elbasan (U+10500βU+1052F) |
| General category | Lo: Other letter |
| Script | Elbasan |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Elbasan
- π U+10500 Elbasan Letter A
- π U+10501 Elbasan Letter Be
- π U+10502 Elbasan Letter Ce
- π U+10504 Elbasan Letter De
- π U+10505 Elbasan Letter Nde
- π U+10506 Elbasan Letter Dhe
- π U+10507 Elbasan Letter Ei
- π U+10508 Elbasan Letter E
- π U+10509 Elbasan Letter Fe
- π U+1050A Elbasan Letter Ge
- π U+1050B Elbasan Letter Gje
All 40 characters: Elbasan.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐔃 (decimal) or 𐔃 (hex).
- What is the UTF-8 encoding of U+10503?
- F0 90 94 83 (hex), 4 bytes. In a URL it is %F0%90%94%83.
- How do I write U+10503 in JavaScript or Python?
- JavaScript: \u{10503} or \uD801\uDD03. Python: \U00010503.
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