π is the Unicode character ELBASAN LETTER TE, code point U+1051D (decimal 66845) in the Elbasan block, added in Unicode 7.0. In HTML write 𐔝, and in UTF-8 it is the 4 bytes F0 90 94 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1051D |
| Decimal | 66845 |
| UTF-8 bytes | F0 90 94 9D |
| UTF-16 (big-endian) | D801 DD1D |
| UTF-32 | 0001051D |
| HTML decimal | 𐔝 |
| HTML hex | 𐔝 |
| CSS | \1051D |
| JavaScript | \u{1051D} or \uD801\uDD1D |
| JSON | \uD801\uDD1D |
| Python | \U0001051D |
| Python by name | \N{ELBASAN LETTER TE} |
| Java, C# | \uD801\uDD1D |
| Rust, Swift | \u{1051D} |
| Go, C, C++ | \U0001051D |
| URL (percent-encoded) | %F0%90%94%9D |
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 TE |
| Code point | U+1051D (decimal 66845) |
| 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+10515 Elbasan Letter Nje
- π U+10516 Elbasan Letter O
- π U+10517 Elbasan Letter Pe
- π U+10518 Elbasan Letter Qe
- π U+10519 Elbasan Letter Re
- π U+1051A Elbasan Letter Rre
- π U+1051B Elbasan Letter Se
- π U+1051C Elbasan Letter She
- π U+1051E Elbasan Letter The
- π U+1051F Elbasan Letter U
- π U+10520 Elbasan Letter Ve
- π‘ U+10521 Elbasan Letter Xe
- π’ U+10522 Elbasan Letter Y
- π£ U+10523 Elbasan Letter Ze
- π€ U+10524 Elbasan Letter Zhe
- π₯ U+10525 Elbasan Letter Ghe
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+1051D?
- F0 90 94 9D (hex), 4 bytes. In a URL it is %F0%90%94%9D.
- How do I write U+1051D in JavaScript or Python?
- JavaScript: \u{1051D} or \uD801\uDD1D. Python: \U0001051D.
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