π is the Unicode character BRAHMI LETTER O, code point U+11011 (decimal 69649) in the Brahmi block, added in Unicode 6.0. In HTML write 𑀑, and in UTF-8 it is the 4 bytes F0 91 80 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11011 |
| Decimal | 69649 |
| UTF-8 bytes | F0 91 80 91 |
| UTF-16 (big-endian) | D804 DC11 |
| UTF-32 | 00011011 |
| HTML decimal | 𑀑 |
| HTML hex | 𑀑 |
| CSS | \11011 |
| JavaScript | \u{11011} or \uD804\uDC11 |
| JSON | \uD804\uDC11 |
| Python | \U00011011 |
| Python by name | \N{BRAHMI LETTER O} |
| Java, C# | \uD804\uDC11 |
| Rust, Swift | \u{11011} |
| Go, C, C++ | \U00011011 |
| URL (percent-encoded) | %F0%91%80%91 |
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 O |
| Code point | U+11011 (decimal 69649) |
| 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+11009 Brahmi Letter U
- π U+1100A Brahmi Letter Uu
- π U+1100B Brahmi Letter Vocalic R
- π U+1100C Brahmi Letter Vocalic Rr
- π U+1100D Brahmi Letter Vocalic L
- π U+1100E Brahmi Letter Vocalic Ll
- π U+1100F Brahmi Letter E
- π U+11010 Brahmi Letter Ai
- π U+11012 Brahmi Letter Au
- π 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
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+11011?
- F0 91 80 91 (hex), 4 bytes. In a URL it is %F0%91%80%91.
- How do I write U+11011 in JavaScript or Python?
- JavaScript: \u{11011} or \uD804\uDC11. Python: \U00011011.
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