π is the Unicode character AHOM LETTER KA, code point U+11700 (decimal 71424) in the Ahom block, added in Unicode 8.0. In HTML write 𑜀, and in UTF-8 it is the 4 bytes F0 91 9C 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11700 |
| Decimal | 71424 |
| UTF-8 bytes | F0 91 9C 80 |
| UTF-16 (big-endian) | D805 DF00 |
| UTF-32 | 00011700 |
| HTML decimal | 𑜀 |
| HTML hex | 𑜀 |
| CSS | \11700 |
| JavaScript | \u{11700} or \uD805\uDF00 |
| JSON | \uD805\uDF00 |
| Python | \U00011700 |
| Python by name | \N{AHOM LETTER KA} |
| Java, C# | \uD805\uDF00 |
| Rust, Swift | \u{11700} |
| Go, C, C++ | \U00011700 |
| URL (percent-encoded) | %F0%91%9C%80 |
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 KA |
| Code point | U+11700 (decimal 71424) |
| 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+11701 Ahom Letter Kha
- π 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
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+11700?
- F0 91 9C 80 (hex), 4 bytes. In a URL it is %F0%91%9C%80.
- How do I write U+11700 in JavaScript or Python?
- JavaScript: \u{11700} or \uD805\uDF00. Python: \U00011700.
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