π is the Unicode character CHAKMA LETTER KHAA, code point U+11108 (decimal 69896) in the Chakma block, added in Unicode 6.1. In HTML write 𑄈, and in UTF-8 it is the 4 bytes F0 91 84 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11108 |
| Decimal | 69896 |
| UTF-8 bytes | F0 91 84 88 |
| UTF-16 (big-endian) | D804 DD08 |
| UTF-32 | 00011108 |
| HTML decimal | 𑄈 |
| HTML hex | 𑄈 |
| CSS | \11108 |
| JavaScript | \u{11108} or \uD804\uDD08 |
| JSON | \uD804\uDD08 |
| Python | \U00011108 |
| Python by name | \N{CHAKMA LETTER KHAA} |
| Java, C# | \uD804\uDD08 |
| Rust, Swift | \u{11108} |
| Go, C, C++ | \U00011108 |
| URL (percent-encoded) | %F0%91%84%88 |
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 | CHAKMA LETTER KHAA |
| Code point | U+11108 (decimal 69896) |
| Block | Chakma (U+11100βU+1114F) |
| General category | Lo: Other letter |
| Script | Chakma |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.1 |
Nearby in Chakma
- U+11100 Chakma Sign Candrabindu
- U+11101 Chakma Sign Anusvara
- U+11102 Chakma Sign Visarga
- π U+11103 Chakma Letter Aa
- π U+11104 Chakma Letter I
- π U+11105 Chakma Letter U
- π U+11106 Chakma Letter E
- π U+11107 Chakma Letter Kaa
- π U+11109 Chakma Letter Gaa
- π U+1110A Chakma Letter Ghaa
- π U+1110B Chakma Letter Ngaa
- π U+1110C Chakma Letter Caa
- π U+1110D Chakma Letter Chaa
- π U+1110E Chakma Letter Jaa
- π U+1110F Chakma Letter Jhaa
- π U+11110 Chakma Letter Nyaa
All 71 characters: Chakma.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑄈 (decimal) or 𑄈 (hex).
- What is the UTF-8 encoding of U+11108?
- F0 91 84 88 (hex), 4 bytes. In a URL it is %F0%91%84%88.
- How do I write U+11108 in JavaScript or Python?
- JavaScript: \u{11108} or \uD804\uDD08. Python: \U00011108.
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