π is the Unicode character CHAKMA LETTER NYAA, code point U+11110 (decimal 69904) in the Chakma block, added in Unicode 6.1. In HTML write 𑄐, and in UTF-8 it is the 4 bytes F0 91 84 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11110 |
| Decimal | 69904 |
| UTF-8 bytes | F0 91 84 90 |
| UTF-16 (big-endian) | D804 DD10 |
| UTF-32 | 00011110 |
| HTML decimal | 𑄐 |
| HTML hex | 𑄐 |
| CSS | \11110 |
| JavaScript | \u{11110} or \uD804\uDD10 |
| JSON | \uD804\uDD10 |
| Python | \U00011110 |
| Python by name | \N{CHAKMA LETTER NYAA} |
| Java, C# | \uD804\uDD10 |
| Rust, Swift | \u{11110} |
| Go, C, C++ | \U00011110 |
| URL (percent-encoded) | %F0%91%84%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 | CHAKMA LETTER NYAA |
| Code point | U+11110 (decimal 69904) |
| 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+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
- π U+11111 Chakma Letter Ttaa
- π U+11112 Chakma Letter Tthaa
- π U+11113 Chakma Letter Ddaa
- π U+11114 Chakma Letter Ddhaa
- π U+11115 Chakma Letter Nnaa
- π U+11116 Chakma Letter Taa
- π U+11117 Chakma Letter Thaa
- π U+11118 Chakma Letter Daa
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+11110?
- F0 91 84 90 (hex), 4 bytes. In a URL it is %F0%91%84%90.
- How do I write U+11110 in JavaScript or Python?
- JavaScript: \u{11110} or \uD804\uDD10. Python: \U00011110.
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