π is the Unicode character TAKRI LETTER GA, code point U+1168C (decimal 71308) in the Takri block, added in Unicode 6.1. In HTML write 𑚌, and in UTF-8 it is the 4 bytes F0 91 9A 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1168C |
| Decimal | 71308 |
| UTF-8 bytes | F0 91 9A 8C |
| UTF-16 (big-endian) | D805 DE8C |
| UTF-32 | 0001168C |
| HTML decimal | 𑚌 |
| HTML hex | 𑚌 |
| CSS | \1168C |
| JavaScript | \u{1168C} or \uD805\uDE8C |
| JSON | \uD805\uDE8C |
| Python | \U0001168C |
| Python by name | \N{TAKRI LETTER GA} |
| Java, C# | \uD805\uDE8C |
| Rust, Swift | \u{1168C} |
| Go, C, C++ | \U0001168C |
| URL (percent-encoded) | %F0%91%9A%8C |
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 GA |
| Code point | U+1168C (decimal 71308) |
| 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+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
- π U+1168D Takri Letter Gha
- π U+1168E Takri Letter Nga
- π U+1168F Takri Letter Ca
- π U+11690 Takri Letter Cha
- π U+11691 Takri Letter Ja
- π U+11692 Takri Letter Jha
- π U+11693 Takri Letter Nya
- π U+11694 Takri Letter Tta
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+1168C?
- F0 91 9A 8C (hex), 4 bytes. In a URL it is %F0%91%9A%8C.
- How do I write U+1168C in JavaScript or Python?
- JavaScript: \u{1168C} or \uD805\uDE8C. Python: \U0001168C.
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