π is the Unicode character INSCRIPTIONAL PARTHIAN LETTER SADHE, code point U+10B51 (decimal 68433) in the Inscriptional Parthian block, added in Unicode 5.2. In HTML write 𐭑, and in UTF-8 it is the 4 bytes F0 90 AD 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10B51 |
| Decimal | 68433 |
| UTF-8 bytes | F0 90 AD 91 |
| UTF-16 (big-endian) | D802 DF51 |
| UTF-32 | 00010B51 |
| HTML decimal | 𐭑 |
| HTML hex | 𐭑 |
| CSS | \10B51 |
| JavaScript | \u{10B51} or \uD802\uDF51 |
| JSON | \uD802\uDF51 |
| Python | \U00010B51 |
| Python by name | \N{INSCRIPTIONAL PARTHIAN LETTER SADHE} |
| Java, C# | \uD802\uDF51 |
| Rust, Swift | \u{10B51} |
| Go, C, C++ | \U00010B51 |
| URL (percent-encoded) | %F0%90%AD%91 |
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 | INSCRIPTIONAL PARTHIAN LETTER SADHE |
| Code point | U+10B51 (decimal 68433) |
| Block | Inscriptional Parthian (U+10B40βU+10B5F) |
| General category | Lo: Other letter |
| Script | Inscriptional Parthian |
| Bidirectional class | R: Right-to-left |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.2 |
Nearby in Inscriptional Parthian
- π U+10B49 Inscriptional Parthian Letter Yodh
- π U+10B4A Inscriptional Parthian Letter Kaph
- π U+10B4B Inscriptional Parthian Letter Lamedh
- π U+10B4C Inscriptional Parthian Letter Mem
- π U+10B4D Inscriptional Parthian Letter Nun
- π U+10B4E Inscriptional Parthian Letter Samekh
- π U+10B4F Inscriptional Parthian Letter Ayin
- π U+10B50 Inscriptional Parthian Letter Pe
- π U+10B52 Inscriptional Parthian Letter Qoph
- π U+10B53 Inscriptional Parthian Letter Resh
- π U+10B54 Inscriptional Parthian Letter Shin
- π U+10B55 Inscriptional Parthian Letter Taw
- π U+10B58 Inscriptional Parthian Number One
- π U+10B59 Inscriptional Parthian Number Two
- π U+10B5A Inscriptional Parthian Number Three
- π U+10B5B Inscriptional Parthian Number Four
All 30 characters: Inscriptional Parthian.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐭑 (decimal) or 𐭑 (hex).
- What is the UTF-8 encoding of U+10B51?
- F0 90 AD 91 (hex), 4 bytes. In a URL it is %F0%90%AD%91.
- How do I write U+10B51 in JavaScript or Python?
- JavaScript: \u{10B51} or \uD802\uDF51. Python: \U00010B51.
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