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