π is the Unicode character CHAKMA LETTER BHAA, code point U+1111E (decimal 69918) in the Chakma block, added in Unicode 6.1. In HTML write 𑄞, and in UTF-8 it is the 4 bytes F0 91 84 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1111E |
| Decimal | 69918 |
| UTF-8 bytes | F0 91 84 9E |
| UTF-16 (big-endian) | D804 DD1E |
| UTF-32 | 0001111E |
| HTML decimal | 𑄞 |
| HTML hex | 𑄞 |
| CSS | \1111E |
| JavaScript | \u{1111E} or \uD804\uDD1E |
| JSON | \uD804\uDD1E |
| Python | \U0001111E |
| Python by name | \N{CHAKMA LETTER BHAA} |
| Java, C# | \uD804\uDD1E |
| Rust, Swift | \u{1111E} |
| Go, C, C++ | \U0001111E |
| URL (percent-encoded) | %F0%91%84%9E |
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 BHAA |
| Code point | U+1111E (decimal 69918) |
| 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+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
- π U+1111C Chakma Letter Phaa
- π U+1111D Chakma Letter Baa
- π U+1111F Chakma Letter Maa
- π U+11120 Chakma Letter Yyaa
- π‘ U+11121 Chakma Letter Yaa
- π’ U+11122 Chakma Letter Raa
- π£ U+11123 Chakma Letter Laa
- π€ U+11124 Chakma Letter Waa
- π₯ U+11125 Chakma Letter Saa
- π¦ U+11126 Chakma Letter Haa
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+1111E?
- F0 91 84 9E (hex), 4 bytes. In a URL it is %F0%91%84%9E.
- How do I write U+1111E in JavaScript or Python?
- JavaScript: \u{1111E} or \uD804\uDD1E. Python: \U0001111E.
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