π is the Unicode character INSCRIPTIONAL PARTHIAN NUMBER TWENTY, code point U+10B5D (decimal 68445) 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 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10B5D |
| Decimal | 68445 |
| UTF-8 bytes | F0 90 AD 9D |
| UTF-16 (big-endian) | D802 DF5D |
| UTF-32 | 00010B5D |
| HTML decimal | 𐭝 |
| HTML hex | 𐭝 |
| CSS | \10B5D |
| JavaScript | \u{10B5D} or \uD802\uDF5D |
| JSON | \uD802\uDF5D |
| Python | \U00010B5D |
| Python by name | \N{INSCRIPTIONAL PARTHIAN NUMBER TWENTY} |
| Java, C# | \uD802\uDF5D |
| Rust, Swift | \u{10B5D} |
| Go, C, C++ | \U00010B5D |
| URL (percent-encoded) | %F0%90%AD%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 | INSCRIPTIONAL PARTHIAN NUMBER TWENTY |
| Code point | U+10B5D (decimal 68445) |
| Block | Inscriptional Parthian (U+10B40βU+10B5F) |
| General category | No: Other number |
| Script | Inscriptional Parthian |
| Bidirectional class | R: Right-to-left |
| Numeric value | 20 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.2 |
Nearby in Inscriptional Parthian
- π 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
- π U+10B5C Inscriptional Parthian Number Ten
- π U+10B5E Inscriptional Parthian Number One Hundred
- π U+10B5F Inscriptional Parthian Number One Thousand
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+10B5D?
- F0 90 AD 9D (hex), 4 bytes. In a URL it is %F0%90%AD%9D.
- How do I write U+10B5D in JavaScript or Python?
- JavaScript: \u{10B5D} or \uD802\uDF5D. Python: \U00010B5D.
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