π is the Unicode character BRAHMI LETTER JHA, code point U+1101B (decimal 69659) in the Brahmi block, added in Unicode 6.0. In HTML write 𑀛, and in UTF-8 it is the 4 bytes F0 91 80 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1101B |
| Decimal | 69659 |
| UTF-8 bytes | F0 91 80 9B |
| UTF-16 (big-endian) | D804 DC1B |
| UTF-32 | 0001101B |
| HTML decimal | 𑀛 |
| HTML hex | 𑀛 |
| CSS | \1101B |
| JavaScript | \u{1101B} or \uD804\uDC1B |
| JSON | \uD804\uDC1B |
| Python | \U0001101B |
| Python by name | \N{BRAHMI LETTER JHA} |
| Java, C# | \uD804\uDC1B |
| Rust, Swift | \u{1101B} |
| Go, C, C++ | \U0001101B |
| URL (percent-encoded) | %F0%91%80%9B |
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 | BRAHMI LETTER JHA |
| Code point | U+1101B (decimal 69659) |
| Block | Brahmi (U+11000βU+1107F) |
| General category | Lo: Other letter |
| Script | Brahmi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Brahmi
- π U+11013 Brahmi Letter Ka
- π U+11014 Brahmi Letter Kha
- π U+11015 Brahmi Letter Ga
- π U+11016 Brahmi Letter Gha
- π U+11017 Brahmi Letter Nga
- π U+11018 Brahmi Letter Ca
- π U+11019 Brahmi Letter Cha
- π U+1101A Brahmi Letter Ja
- π U+1101C Brahmi Letter Nya
- π U+1101D Brahmi Letter Tta
- π U+1101E Brahmi Letter Ttha
- π U+1101F Brahmi Letter Dda
- π U+11020 Brahmi Letter Ddha
- π‘ U+11021 Brahmi Letter Nna
- π’ U+11022 Brahmi Letter Ta
- π£ U+11023 Brahmi Letter Tha
All 115 characters: Brahmi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑀛 (decimal) or 𑀛 (hex).
- What is the UTF-8 encoding of U+1101B?
- F0 91 80 9B (hex), 4 bytes. In a URL it is %F0%91%80%9B.
- How do I write U+1101B in JavaScript or Python?
- JavaScript: \u{1101B} or \uD804\uDC1B. Python: \U0001101B.
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