π is the Unicode character MYANMAR PAO DIGIT FIVE, code point U+116D5 (decimal 71381) in the Myanmar Extended-C block, added in Unicode 16.0. In HTML write 𑛕, and in UTF-8 it is the 4 bytes F0 91 9B 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+116D5 |
| Decimal | 71381 |
| UTF-8 bytes | F0 91 9B 95 |
| UTF-16 (big-endian) | D805 DED5 |
| UTF-32 | 000116D5 |
| HTML decimal | 𑛕 |
| HTML hex | 𑛕 |
| CSS | \116D5 |
| JavaScript | \u{116D5} or \uD805\uDED5 |
| JSON | \uD805\uDED5 |
| Python | \U000116D5 |
| Python by name | \N{MYANMAR PAO DIGIT FIVE} |
| Java, C# | \uD805\uDED5 |
| Rust, Swift | \u{116D5} |
| Go, C, C++ | \U000116D5 |
| URL (percent-encoded) | %F0%91%9B%95 |
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 | MYANMAR PAO DIGIT FIVE |
| Code point | U+116D5 (decimal 71381) |
| Block | Myanmar Extended-C (U+116D0βU+116FF) |
| General category | Nd: Decimal digit |
| Script | Myanmar |
| Bidirectional class | L: Left-to-right |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Myanmar Extended-C
- π U+116D0 Myanmar Pao Digit Zero
- π U+116D1 Myanmar Pao Digit One
- π U+116D2 Myanmar Pao Digit Two
- π U+116D3 Myanmar Pao Digit Three
- π U+116D4 Myanmar Pao Digit Four
- π U+116D6 Myanmar Pao Digit Six
- π U+116D7 Myanmar Pao Digit Seven
- π U+116D8 Myanmar Pao Digit Eight
- π U+116D9 Myanmar Pao Digit Nine
- π U+116DA Myanmar Eastern Pwo Karen Digit Zero
- π U+116DB Myanmar Eastern Pwo Karen Digit One
- π U+116DC Myanmar Eastern Pwo Karen Digit Two
- π U+116DD Myanmar Eastern Pwo Karen Digit Three
All 20 characters: Myanmar Extended-C.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑛕 (decimal) or 𑛕 (hex).
- What is the UTF-8 encoding of U+116D5?
- F0 91 9B 95 (hex), 4 bytes. In a URL it is %F0%91%9B%95.
- How do I write U+116D5 in JavaScript or Python?
- JavaScript: \u{116D5} or \uD805\uDED5. Python: \U000116D5.
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