π is the Unicode character KAITHI LETTER AI, code point U+1108A (decimal 69770) in the Kaithi block, added in Unicode 5.2. In HTML write 𑂊, and in UTF-8 it is the 4 bytes F0 91 82 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1108A |
| Decimal | 69770 |
| UTF-8 bytes | F0 91 82 8A |
| UTF-16 (big-endian) | D804 DC8A |
| UTF-32 | 0001108A |
| HTML decimal | 𑂊 |
| HTML hex | 𑂊 |
| CSS | \1108A |
| JavaScript | \u{1108A} or \uD804\uDC8A |
| JSON | \uD804\uDC8A |
| Python | \U0001108A |
| Python by name | \N{KAITHI LETTER AI} |
| Java, C# | \uD804\uDC8A |
| Rust, Swift | \u{1108A} |
| Go, C, C++ | \U0001108A |
| URL (percent-encoded) | %F0%91%82%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 | KAITHI LETTER AI |
| Code point | U+1108A (decimal 69770) |
| Block | Kaithi (U+11080βU+110CF) |
| General category | Lo: Other letter |
| Script | Kaithi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.2 |
Nearby in Kaithi
- U+11082 Kaithi Sign Visarga
- π U+11083 Kaithi Letter A
- π U+11084 Kaithi Letter Aa
- π U+11085 Kaithi Letter I
- π U+11086 Kaithi Letter Ii
- π U+11087 Kaithi Letter U
- π U+11088 Kaithi Letter Uu
- π U+11089 Kaithi Letter E
- π U+1108B Kaithi Letter O
- π U+1108C Kaithi Letter Au
- π U+1108D Kaithi Letter Ka
- π U+1108E Kaithi Letter Kha
- π U+1108F Kaithi Letter Ga
- π U+11090 Kaithi Letter Gha
- π U+11091 Kaithi Letter Nga
- π U+11092 Kaithi Letter Ca
All 68 characters: Kaithi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑂊 (decimal) or 𑂊 (hex).
- What is the UTF-8 encoding of U+1108A?
- F0 91 82 8A (hex), 4 bytes. In a URL it is %F0%91%82%8A.
- How do I write U+1108A in JavaScript or Python?
- JavaScript: \u{1108A} or \uD804\uDC8A. Python: \U0001108A.
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