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