π is the Unicode character BRAHMI LETTER KHA, code point U+11014 (decimal 69652) in the Brahmi block, added in Unicode 6.0. In HTML write 𑀔, and in UTF-8 it is the 4 bytes F0 91 80 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11014 |
| Decimal | 69652 |
| UTF-8 bytes | F0 91 80 94 |
| UTF-16 (big-endian) | D804 DC14 |
| UTF-32 | 00011014 |
| HTML decimal | 𑀔 |
| HTML hex | 𑀔 |
| CSS | \11014 |
| JavaScript | \u{11014} or \uD804\uDC14 |
| JSON | \uD804\uDC14 |
| Python | \U00011014 |
| Python by name | \N{BRAHMI LETTER KHA} |
| Java, C# | \uD804\uDC14 |
| Rust, Swift | \u{11014} |
| Go, C, C++ | \U00011014 |
| URL (percent-encoded) | %F0%91%80%94 |
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 KHA |
| Code point | U+11014 (decimal 69652) |
| 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+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+11011 Brahmi Letter O
- π U+11012 Brahmi Letter Au
- π U+11013 Brahmi Letter Ka
- π 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+1101B Brahmi Letter Jha
- π U+1101C Brahmi Letter Nya
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+11014?
- F0 91 80 94 (hex), 4 bytes. In a URL it is %F0%91%80%94.
- How do I write U+11014 in JavaScript or Python?
- JavaScript: \u{11014} or \uD804\uDC14. Python: \U00011014.
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