π is the Unicode character MYANMAR PAO DIGIT ZERO, code point U+116D0 (decimal 71376) 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 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+116D0 |
| Decimal | 71376 |
| UTF-8 bytes | F0 91 9B 90 |
| UTF-16 (big-endian) | D805 DED0 |
| UTF-32 | 000116D0 |
| HTML decimal | 𑛐 |
| HTML hex | 𑛐 |
| CSS | \116D0 |
| JavaScript | \u{116D0} or \uD805\uDED0 |
| JSON | \uD805\uDED0 |
| Python | \U000116D0 |
| Python by name | \N{MYANMAR PAO DIGIT ZERO} |
| Java, C# | \uD805\uDED0 |
| Rust, Swift | \u{116D0} |
| Go, C, C++ | \U000116D0 |
| URL (percent-encoded) | %F0%91%9B%90 |
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 ZERO |
| Code point | U+116D0 (decimal 71376) |
| Block | Myanmar Extended-C (U+116D0βU+116FF) |
| General category | Nd: Decimal digit |
| Script | Myanmar |
| Bidirectional class | L: Left-to-right |
| Numeric value | 0 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Myanmar Extended-C
- π 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+116D5 Myanmar Pao Digit Five
- π U+116D6 Myanmar Pao Digit Six
- π U+116D7 Myanmar Pao Digit Seven
- π U+116D8 Myanmar Pao Digit Eight
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+116D0?
- F0 91 9B 90 (hex), 4 bytes. In a URL it is %F0%91%9B%90.
- How do I write U+116D0 in JavaScript or Python?
- JavaScript: \u{116D0} or \uD805\uDED0. Python: \U000116D0.
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