π is the Unicode character INSCRIPTIONAL PARTHIAN LETTER BETH, code point U+10B41 (decimal 68417) 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 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10B41 |
| Decimal | 68417 |
| UTF-8 bytes | F0 90 AD 81 |
| UTF-16 (big-endian) | D802 DF41 |
| UTF-32 | 00010B41 |
| HTML decimal | 𐭁 |
| HTML hex | 𐭁 |
| CSS | \10B41 |
| JavaScript | \u{10B41} or \uD802\uDF41 |
| JSON | \uD802\uDF41 |
| Python | \U00010B41 |
| Python by name | \N{INSCRIPTIONAL PARTHIAN LETTER BETH} |
| Java, C# | \uD802\uDF41 |
| Rust, Swift | \u{10B41} |
| Go, C, C++ | \U00010B41 |
| URL (percent-encoded) | %F0%90%AD%81 |
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 BETH |
| Code point | U+10B41 (decimal 68417) |
| 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+10B40 Inscriptional Parthian Letter Aleph
- π U+10B42 Inscriptional Parthian Letter Gimel
- π U+10B43 Inscriptional Parthian Letter Daleth
- π U+10B44 Inscriptional Parthian Letter He
- π U+10B45 Inscriptional Parthian Letter Waw
- π U+10B46 Inscriptional Parthian Letter Zayin
- π U+10B47 Inscriptional Parthian Letter Heth
- π U+10B48 Inscriptional Parthian Letter Teth
- π U+10B49 Inscriptional Parthian Letter Yodh
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+10B41?
- F0 90 AD 81 (hex), 4 bytes. In a URL it is %F0%90%AD%81.
- How do I write U+10B41 in JavaScript or Python?
- JavaScript: \u{10B41} or \uD802\uDF41. Python: \U00010B41.
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