π is the Unicode character AHOM LETTER GHA, code point U+11717 (decimal 71447) in the Ahom block, added in Unicode 8.0. In HTML write 𑜗, and in UTF-8 it is the 4 bytes F0 91 9C 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11717 |
| Decimal | 71447 |
| UTF-8 bytes | F0 91 9C 97 |
| UTF-16 (big-endian) | D805 DF17 |
| UTF-32 | 00011717 |
| HTML decimal | 𑜗 |
| HTML hex | 𑜗 |
| CSS | \11717 |
| JavaScript | \u{11717} or \uD805\uDF17 |
| JSON | \uD805\uDF17 |
| Python | \U00011717 |
| Python by name | \N{AHOM LETTER GHA} |
| Java, C# | \uD805\uDF17 |
| Rust, Swift | \u{11717} |
| Go, C, C++ | \U00011717 |
| URL (percent-encoded) | %F0%91%9C%97 |
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 GHA |
| Code point | U+11717 (decimal 71447) |
| 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+1170F Ahom Letter Sa
- π U+11710 Ahom Letter Nya
- π U+11711 Ahom Letter Ha
- π U+11712 Ahom Letter A
- π U+11713 Ahom Letter Da
- π U+11714 Ahom Letter Dha
- π U+11715 Ahom Letter Ga
- π U+11716 Ahom Letter Alternate Ga
- π U+11718 Ahom Letter Bha
- π U+11719 Ahom Letter Jha
- π U+1171A Ahom Letter Alternate Ba
- U+1171D Ahom Consonant Sign Medial La
- U+1171E Ahom Consonant Sign Medial Ra
- U+1171F Ahom Consonant Sign Medial Ligating Ra
- U+11720 Ahom Vowel Sign A
- U+11721 Ahom Vowel Sign Aa
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+11717?
- F0 91 9C 97 (hex), 4 bytes. In a URL it is %F0%91%9C%97.
- How do I write U+11717 in JavaScript or Python?
- JavaScript: \u{11717} or \uD805\uDF17. Python: \U00011717.
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