π is the Unicode character BAMUM LETTER PHASE-A PON MFON PIPAEMGBIEE, code point U+16802 (decimal 92162) in the Bamum Supplement block, added in Unicode 6.0. In HTML write 𖠂, and in UTF-8 it is the 4 bytes F0 96 A0 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16802 |
| Decimal | 92162 |
| UTF-8 bytes | F0 96 A0 82 |
| UTF-16 (big-endian) | D81A DC02 |
| UTF-32 | 00016802 |
| HTML decimal | 𖠂 |
| HTML hex | 𖠂 |
| CSS | \16802 |
| JavaScript | \u{16802} or \uD81A\uDC02 |
| JSON | \uD81A\uDC02 |
| Python | \U00016802 |
| Python by name | \N{BAMUM LETTER PHASE-A PON MFON PIPAEMGBIEE} |
| Java, C# | \uD81A\uDC02 |
| Rust, Swift | \u{16802} |
| Go, C, C++ | \U00016802 |
| URL (percent-encoded) | %F0%96%A0%82 |
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 | BAMUM LETTER PHASE-A PON MFON PIPAEMGBIEE |
| Code point | U+16802 (decimal 92162) |
| Block | Bamum Supplement (U+16800βU+16A3F) |
| General category | Lo: Other letter |
| Script | Bamum |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Bamum Supplement
- π U+16800 Bamum Letter Phase-A Ngkue Mfon
- π U+16801 Bamum Letter Phase-A Gbiee Fon
- π U+16803 Bamum Letter Phase-A Pon Mfon Pipaemba
- π U+16804 Bamum Letter Phase-A Naa Mfon
- π U+16805 Bamum Letter Phase-A Shuenshuet
- π U+16806 Bamum Letter Phase-A Tita Mfon
- π U+16807 Bamum Letter Phase-A Nza Mfon
- π U+16808 Bamum Letter Phase-A Shinda Pa Nji
- π U+16809 Bamum Letter Phase-A Pon Pa Nji Pipaemgbiee
- π U+1680A Bamum Letter Phase-A Pon Pa Nji Pipaemba
All 569 characters: Bamum Supplement.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𖠂 (decimal) or 𖠂 (hex).
- What is the UTF-8 encoding of U+16802?
- F0 96 A0 82 (hex), 4 bytes. In a URL it is %F0%96%A0%82.
- How do I write U+16802 in JavaScript or Python?
- JavaScript: \u{16802} or \uD81A\uDC02. Python: \U00016802.
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