π is the Unicode character SHAVIAN LETTER FEE, code point U+10453 (decimal 66643) in the Shavian block, added in Unicode 4.0. In HTML write 𐑓, and in UTF-8 it is the 4 bytes F0 90 91 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10453 |
| Decimal | 66643 |
| UTF-8 bytes | F0 90 91 93 |
| UTF-16 (big-endian) | D801 DC53 |
| UTF-32 | 00010453 |
| HTML decimal | 𐑓 |
| HTML hex | 𐑓 |
| CSS | \10453 |
| JavaScript | \u{10453} or \uD801\uDC53 |
| JSON | \uD801\uDC53 |
| Python | \U00010453 |
| Python by name | \N{SHAVIAN LETTER FEE} |
| Java, C# | \uD801\uDC53 |
| Rust, Swift | \u{10453} |
| Go, C, C++ | \U00010453 |
| URL (percent-encoded) | %F0%90%91%93 |
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 | SHAVIAN LETTER FEE |
| Code point | U+10453 (decimal 66643) |
| Block | Shavian (U+10450βU+1047F) |
| General category | Lo: Other letter |
| Script | Shavian |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Shavian
- π U+10450 Shavian Letter Peep
- π U+10451 Shavian Letter Tot
- π U+10452 Shavian Letter Kick
- π U+10454 Shavian Letter Thigh
- π U+10455 Shavian Letter So
- π U+10456 Shavian Letter Sure
- π U+10457 Shavian Letter Church
- π U+10458 Shavian Letter Yea
- π U+10459 Shavian Letter Hung
- π U+1045A Shavian Letter Bib
- π U+1045B Shavian Letter Dead
All 48 characters: Shavian.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐑓 (decimal) or 𐑓 (hex).
- What is the UTF-8 encoding of U+10453?
- F0 90 91 93 (hex), 4 bytes. In a URL it is %F0%90%91%93.
- How do I write U+10453 in JavaScript or Python?
- JavaScript: \u{10453} or \uD801\uDC53. Python: \U00010453.
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