π is the Unicode character CHAKMA LETTER KAA, code point U+11107 (decimal 69895) in the Chakma block, added in Unicode 6.1. In HTML write 𑄇, and in UTF-8 it is the 4 bytes F0 91 84 87.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11107 |
| Decimal | 69895 |
| UTF-8 bytes | F0 91 84 87 |
| UTF-16 (big-endian) | D804 DD07 |
| UTF-32 | 00011107 |
| HTML decimal | 𑄇 |
| HTML hex | 𑄇 |
| CSS | \11107 |
| JavaScript | \u{11107} or \uD804\uDD07 |
| JSON | \uD804\uDD07 |
| Python | \U00011107 |
| Python by name | \N{CHAKMA LETTER KAA} |
| Java, C# | \uD804\uDD07 |
| Rust, Swift | \u{11107} |
| Go, C, C++ | \U00011107 |
| URL (percent-encoded) | %F0%91%84%87 |
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 KAA |
| Code point | U+11107 (decimal 69895) |
| 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+11108 Chakma Letter Khaa
- π 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
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+11107?
- F0 91 84 87 (hex), 4 bytes. In a URL it is %F0%91%84%87.
- How do I write U+11107 in JavaScript or Python?
- JavaScript: \u{11107} or \uD804\uDD07. Python: \U00011107.
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