π is the Unicode character ELBASAN LETTER KE, code point U+1050F (decimal 66831) in the Elbasan block, added in Unicode 7.0. In HTML write 𐔏, and in UTF-8 it is the 4 bytes F0 90 94 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1050F |
| Decimal | 66831 |
| UTF-8 bytes | F0 90 94 8F |
| UTF-16 (big-endian) | D801 DD0F |
| UTF-32 | 0001050F |
| HTML decimal | 𐔏 |
| HTML hex | 𐔏 |
| CSS | \1050F |
| JavaScript | \u{1050F} or \uD801\uDD0F |
| JSON | \uD801\uDD0F |
| Python | \U0001050F |
| Python by name | \N{ELBASAN LETTER KE} |
| Java, C# | \uD801\uDD0F |
| Rust, Swift | \u{1050F} |
| Go, C, C++ | \U0001050F |
| URL (percent-encoded) | %F0%90%94%8F |
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 KE |
| Code point | U+1050F (decimal 66831) |
| 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+10507 Elbasan Letter Ei
- π U+10508 Elbasan Letter E
- π U+10509 Elbasan Letter Fe
- π U+1050A Elbasan Letter Ge
- π U+1050B Elbasan Letter Gje
- π U+1050C Elbasan Letter He
- π U+1050D Elbasan Letter I
- π U+1050E Elbasan Letter Je
- π U+10510 Elbasan Letter Le
- π U+10511 Elbasan Letter Lle
- π U+10512 Elbasan Letter Me
- π U+10513 Elbasan Letter Ne
- π U+10514 Elbasan Letter Na
- π U+10515 Elbasan Letter Nje
- π U+10516 Elbasan Letter O
- π U+10517 Elbasan Letter Pe
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+1050F?
- F0 90 94 8F (hex), 4 bytes. In a URL it is %F0%90%94%8F.
- How do I write U+1050F in JavaScript or Python?
- JavaScript: \u{1050F} or \uD801\uDD0F. Python: \U0001050F.
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