π is the Unicode character TAKRI LETTER E, code point U+11686 (decimal 71302) in the Takri block, added in Unicode 6.1. In HTML write 𑚆, and in UTF-8 it is the 4 bytes F0 91 9A 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11686 |
| Decimal | 71302 |
| UTF-8 bytes | F0 91 9A 86 |
| UTF-16 (big-endian) | D805 DE86 |
| UTF-32 | 00011686 |
| HTML decimal | 𑚆 |
| HTML hex | 𑚆 |
| CSS | \11686 |
| JavaScript | \u{11686} or \uD805\uDE86 |
| JSON | \uD805\uDE86 |
| Python | \U00011686 |
| Python by name | \N{TAKRI LETTER E} |
| Java, C# | \uD805\uDE86 |
| Rust, Swift | \u{11686} |
| Go, C, C++ | \U00011686 |
| URL (percent-encoded) | %F0%91%9A%86 |
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 | TAKRI LETTER E |
| Code point | U+11686 (decimal 71302) |
| Block | Takri (U+11680βU+116CF) |
| General category | Lo: Other letter |
| Script | Takri |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.1 |
Nearby in Takri
- π U+11680 Takri Letter A
- π U+11681 Takri Letter Aa
- π U+11682 Takri Letter I
- π U+11683 Takri Letter Ii
- π U+11684 Takri Letter U
- π U+11685 Takri Letter Uu
- π U+11687 Takri Letter Ai
- π U+11688 Takri Letter O
- π U+11689 Takri Letter Au
- π U+1168A Takri Letter Ka
- π U+1168B Takri Letter Kha
- π U+1168C Takri Letter Ga
- π U+1168D Takri Letter Gha
- π U+1168E Takri Letter Nga
All 68 characters: Takri.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑚆 (decimal) or 𑚆 (hex).
- What is the UTF-8 encoding of U+11686?
- F0 91 9A 86 (hex), 4 bytes. In a URL it is %F0%91%9A%86.
- How do I write U+11686 in JavaScript or Python?
- JavaScript: \u{11686} or \uD805\uDE86. Python: \U00011686.
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