π is the Unicode character CHAKMA LETTER DDAA, code point U+11113 (decimal 69907) in the Chakma block, added in Unicode 6.1. In HTML write 𑄓, and in UTF-8 it is the 4 bytes F0 91 84 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11113 |
| Decimal | 69907 |
| UTF-8 bytes | F0 91 84 93 |
| UTF-16 (big-endian) | D804 DD13 |
| UTF-32 | 00011113 |
| HTML decimal | 𑄓 |
| HTML hex | 𑄓 |
| CSS | \11113 |
| JavaScript | \u{11113} or \uD804\uDD13 |
| JSON | \uD804\uDD13 |
| Python | \U00011113 |
| Python by name | \N{CHAKMA LETTER DDAA} |
| Java, C# | \uD804\uDD13 |
| Rust, Swift | \u{11113} |
| Go, C, C++ | \U00011113 |
| URL (percent-encoded) | %F0%91%84%93 |
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 DDAA |
| Code point | U+11113 (decimal 69907) |
| 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+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
- π U+11111 Chakma Letter Ttaa
- π U+11112 Chakma Letter Tthaa
- π 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
- π U+11119 Chakma Letter Dhaa
- π U+1111A Chakma Letter Naa
- π U+1111B Chakma Letter Paa
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+11113?
- F0 91 84 93 (hex), 4 bytes. In a URL it is %F0%91%84%93.
- How do I write U+11113 in JavaScript or Python?
- JavaScript: \u{11113} or \uD804\uDD13. Python: \U00011113.
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