π is the Unicode character AHOM LETTER CHA, code point U+1170B (decimal 71435) in the Ahom block, added in Unicode 8.0. In HTML write 𑜋, and in UTF-8 it is the 4 bytes F0 91 9C 8B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1170B |
| Decimal | 71435 |
| UTF-8 bytes | F0 91 9C 8B |
| UTF-16 (big-endian) | D805 DF0B |
| UTF-32 | 0001170B |
| HTML decimal | 𑜋 |
| HTML hex | 𑜋 |
| CSS | \1170B |
| JavaScript | \u{1170B} or \uD805\uDF0B |
| JSON | \uD805\uDF0B |
| Python | \U0001170B |
| Python by name | \N{AHOM LETTER CHA} |
| Java, C# | \uD805\uDF0B |
| Rust, Swift | \u{1170B} |
| Go, C, C++ | \U0001170B |
| URL (percent-encoded) | %F0%91%9C%8B |
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 CHA |
| Code point | U+1170B (decimal 71435) |
| 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+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
- π U+1170A Ahom Letter Ja
- π U+1170C Ahom Letter Tha
- π U+1170D Ahom Letter Ra
- π U+1170E Ahom Letter La
- π U+1170F Ahom Letter Sa
- π U+11710 Ahom Letter Nya
- π U+11711 Ahom Letter Ha
- π U+11712 Ahom Letter A
- π U+11713 Ahom Letter Da
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+1170B?
- F0 91 9C 8B (hex), 4 bytes. In a URL it is %F0%91%9C%8B.
- How do I write U+1170B in JavaScript or Python?
- JavaScript: \u{1170B} or \uD805\uDF0B. Python: \U0001170B.
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