π is the Unicode character AHOM LETTER KHA, code point U+11701 (decimal 71425) in the Ahom block, added in Unicode 8.0. In HTML write 𑜁, and in UTF-8 it is the 4 bytes F0 91 9C 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11701 |
| Decimal | 71425 |
| UTF-8 bytes | F0 91 9C 81 |
| UTF-16 (big-endian) | D805 DF01 |
| UTF-32 | 00011701 |
| HTML decimal | 𑜁 |
| HTML hex | 𑜁 |
| CSS | \11701 |
| JavaScript | \u{11701} or \uD805\uDF01 |
| JSON | \uD805\uDF01 |
| Python | \U00011701 |
| Python by name | \N{AHOM LETTER KHA} |
| Java, C# | \uD805\uDF01 |
| Rust, Swift | \u{11701} |
| Go, C, C++ | \U00011701 |
| URL (percent-encoded) | %F0%91%9C%81 |
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 | AHOM LETTER KHA |
| Code point | U+11701 (decimal 71425) |
| Block | Ahom (U+11700βU+1174F) |
| General category | Lo: Other letter |
| Script | Ahom |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 8.0 |
Nearby in Ahom
- π U+11700 Ahom Letter Ka
- π U+11702 Ahom Letter Nga
- π U+11703 Ahom Letter Na
- π U+11704 Ahom Letter Ta
- π U+11705 Ahom Letter Alternate Ta
- π U+11706 Ahom Letter Pa
- π U+11707 Ahom Letter Pha
- π U+11708 Ahom Letter Ba
- π U+11709 Ahom Letter Ma
All 65 characters: Ahom.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑜁 (decimal) or 𑜁 (hex).
- What is the UTF-8 encoding of U+11701?
- F0 91 9C 81 (hex), 4 bytes. In a URL it is %F0%91%9C%81.
- How do I write U+11701 in JavaScript or Python?
- JavaScript: \u{11701} or \uD805\uDF01. Python: \U00011701.
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