π is the Unicode character MULTANI LETTER A, code point U+11280 (decimal 70272) in the Multani block, added in Unicode 8.0. In HTML write 𑊀, and in UTF-8 it is the 4 bytes F0 91 8A 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11280 |
| Decimal | 70272 |
| UTF-8 bytes | F0 91 8A 80 |
| UTF-16 (big-endian) | D804 DE80 |
| UTF-32 | 00011280 |
| HTML decimal | 𑊀 |
| HTML hex | 𑊀 |
| CSS | \11280 |
| JavaScript | \u{11280} or \uD804\uDE80 |
| JSON | \uD804\uDE80 |
| Python | \U00011280 |
| Python by name | \N{MULTANI LETTER A} |
| Java, C# | \uD804\uDE80 |
| Rust, Swift | \u{11280} |
| Go, C, C++ | \U00011280 |
| URL (percent-encoded) | %F0%91%8A%80 |
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 | MULTANI LETTER A |
| Code point | U+11280 (decimal 70272) |
| Block | Multani (U+11280βU+112AF) |
| General category | Lo: Other letter |
| Script | Multani |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 8.0 |
Nearby in Multani
- π U+11281 Multani Letter I
- π U+11282 Multani Letter U
- π U+11283 Multani Letter E
- π U+11284 Multani Letter Ka
- π U+11285 Multani Letter Kha
- π U+11286 Multani Letter Ga
- π U+11288 Multani Letter Gha
- π U+1128A Multani Letter Ca
All 38 characters: Multani.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑊀 (decimal) or 𑊀 (hex).
- What is the UTF-8 encoding of U+11280?
- F0 91 8A 80 (hex), 4 bytes. In a URL it is %F0%91%8A%80.
- How do I write U+11280 in JavaScript or Python?
- JavaScript: \u{11280} or \uD804\uDE80. Python: \U00011280.
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