π is the Unicode character DOGRA LETTER I, code point U+11802 (decimal 71682) in the Dogra block, added in Unicode 11.0. In HTML write 𑠂, and in UTF-8 it is the 4 bytes F0 91 A0 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11802 |
| Decimal | 71682 |
| UTF-8 bytes | F0 91 A0 82 |
| UTF-16 (big-endian) | D806 DC02 |
| UTF-32 | 00011802 |
| HTML decimal | 𑠂 |
| HTML hex | 𑠂 |
| CSS | \11802 |
| JavaScript | \u{11802} or \uD806\uDC02 |
| JSON | \uD806\uDC02 |
| Python | \U00011802 |
| Python by name | \N{DOGRA LETTER I} |
| Java, C# | \uD806\uDC02 |
| Rust, Swift | \u{11802} |
| Go, C, C++ | \U00011802 |
| URL (percent-encoded) | %F0%91%A0%82 |
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 | DOGRA LETTER I |
| Code point | U+11802 (decimal 71682) |
| Block | Dogra (U+11800βU+1184F) |
| General category | Lo: Other letter |
| Script | Dogra |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 11.0 |
Nearby in Dogra
- π U+11800 Dogra Letter A
- π U+11801 Dogra Letter Aa
- π U+11803 Dogra Letter Ii
- π U+11804 Dogra Letter U
- π U+11805 Dogra Letter Uu
- π U+11806 Dogra Letter E
- π U+11807 Dogra Letter Ai
- π U+11808 Dogra Letter O
- π U+11809 Dogra Letter Au
- π U+1180A Dogra Letter Ka
All 60 characters: Dogra.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𑠂 (decimal) or 𑠂 (hex).
- What is the UTF-8 encoding of U+11802?
- F0 91 A0 82 (hex), 4 bytes. In a URL it is %F0%91%A0%82.
- How do I write U+11802 in JavaScript or Python?
- JavaScript: \u{11802} or \uD806\uDC02. Python: \U00011802.
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