π is the Unicode character MULTANI LETTER NYA, code point U+1128F (decimal 70287) in the Multani block, added in Unicode 8.0. In HTML write 𑊏, and in UTF-8 it is the 4 bytes F0 91 8A 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1128F |
| Decimal | 70287 |
| UTF-8 bytes | F0 91 8A 8F |
| UTF-16 (big-endian) | D804 DE8F |
| UTF-32 | 0001128F |
| HTML decimal | 𑊏 |
| HTML hex | 𑊏 |
| CSS | \1128F |
| JavaScript | \u{1128F} or \uD804\uDE8F |
| JSON | \uD804\uDE8F |
| Python | \U0001128F |
| Python by name | \N{MULTANI LETTER NYA} |
| Java, C# | \uD804\uDE8F |
| Rust, Swift | \u{1128F} |
| Go, C, C++ | \U0001128F |
| URL (percent-encoded) | %F0%91%8A%8F |
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 NYA |
| Code point | U+1128F (decimal 70287) |
| 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+11284 Multani Letter Ka
- π U+11285 Multani Letter Kha
- π U+11286 Multani Letter Ga
- π U+11288 Multani Letter Gha
- π U+1128A Multani Letter Ca
- π U+1128B Multani Letter Cha
- π U+1128C Multani Letter Ja
- π U+1128D Multani Letter Jja
- π U+11290 Multani Letter Tta
- π U+11291 Multani Letter Ttha
- π U+11292 Multani Letter Dda
- π U+11293 Multani Letter Ddda
- π U+11294 Multani Letter Ddha
- π U+11295 Multani Letter Nna
- π U+11296 Multani Letter Ta
- π U+11297 Multani Letter Tha
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+1128F?
- F0 91 8A 8F (hex), 4 bytes. In a URL it is %F0%91%8A%8F.
- How do I write U+1128F in JavaScript or Python?
- JavaScript: \u{1128F} or \uD804\uDE8F. Python: \U0001128F.
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