π is the Unicode character CHAKMA LETTER PHAA, code point U+1111C (decimal 69916) in the Chakma block, added in Unicode 6.1. In HTML write 𑄜, and in UTF-8 it is the 4 bytes F0 91 84 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1111C |
| Decimal | 69916 |
| UTF-8 bytes | F0 91 84 9C |
| UTF-16 (big-endian) | D804 DD1C |
| UTF-32 | 0001111C |
| HTML decimal | 𑄜 |
| HTML hex | 𑄜 |
| CSS | \1111C |
| JavaScript | \u{1111C} or \uD804\uDD1C |
| JSON | \uD804\uDD1C |
| Python | \U0001111C |
| Python by name | \N{CHAKMA LETTER PHAA} |
| Java, C# | \uD804\uDD1C |
| Rust, Swift | \u{1111C} |
| Go, C, C++ | \U0001111C |
| URL (percent-encoded) | %F0%91%84%9C |
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 PHAA |
| Code point | U+1111C (decimal 69916) |
| 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+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
- π U+1111D Chakma Letter Baa
- π U+1111E Chakma Letter Bhaa
- π 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
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+1111C?
- F0 91 84 9C (hex), 4 bytes. In a URL it is %F0%91%84%9C.
- How do I write U+1111C in JavaScript or Python?
- JavaScript: \u{1111C} or \uD804\uDD1C. Python: \U0001111C.
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