π is the Unicode character TAKRI LETTER II, code point U+11683 (decimal 71299) in the Takri block, added in Unicode 6.1. In HTML write 𑚃, and in UTF-8 it is the 4 bytes F0 91 9A 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11683 |
| Decimal | 71299 |
| UTF-8 bytes | F0 91 9A 83 |
| UTF-16 (big-endian) | D805 DE83 |
| UTF-32 | 00011683 |
| HTML decimal | 𑚃 |
| HTML hex | 𑚃 |
| CSS | \11683 |
| JavaScript | \u{11683} or \uD805\uDE83 |
| JSON | \uD805\uDE83 |
| Python | \U00011683 |
| Python by name | \N{TAKRI LETTER II} |
| Java, C# | \uD805\uDE83 |
| Rust, Swift | \u{11683} |
| Go, C, C++ | \U00011683 |
| URL (percent-encoded) | %F0%91%9A%83 |
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 II |
| Code point | U+11683 (decimal 71299) |
| 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+11684 Takri Letter U
- π U+11685 Takri Letter Uu
- π U+11686 Takri Letter E
- π 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
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+11683?
- F0 91 9A 83 (hex), 4 bytes. In a URL it is %F0%91%9A%83.
- How do I write U+11683 in JavaScript or Python?
- JavaScript: \u{11683} or \uD805\uDE83. Python: \U00011683.
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