π is the Unicode character SHAVIAN LETTER PEEP, code point U+10450 (decimal 66640) in the Shavian block, added in Unicode 4.0. In HTML write 𐑐, and in UTF-8 it is the 4 bytes F0 90 91 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10450 |
| Decimal | 66640 |
| UTF-8 bytes | F0 90 91 90 |
| UTF-16 (big-endian) | D801 DC50 |
| UTF-32 | 00010450 |
| HTML decimal | 𐑐 |
| HTML hex | 𐑐 |
| CSS | \10450 |
| JavaScript | \u{10450} or \uD801\uDC50 |
| JSON | \uD801\uDC50 |
| Python | \U00010450 |
| Python by name | \N{SHAVIAN LETTER PEEP} |
| Java, C# | \uD801\uDC50 |
| Rust, Swift | \u{10450} |
| Go, C, C++ | \U00010450 |
| URL (percent-encoded) | %F0%90%91%90 |
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 PEEP |
| Code point | U+10450 (decimal 66640) |
| 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+10451 Shavian Letter Tot
- π U+10452 Shavian Letter Kick
- π U+10453 Shavian Letter Fee
- π 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
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+10450?
- F0 90 91 90 (hex), 4 bytes. In a URL it is %F0%90%91%90.
- How do I write U+10450 in JavaScript or Python?
- JavaScript: \u{10450} or \uD801\uDC50. Python: \U00010450.
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