π is the Unicode character AHOM LETTER ALTERNATE BA, code point U+1171A (decimal 71450) in the Ahom block, added in Unicode 11.0. In HTML write 𑜚, and in UTF-8 it is the 4 bytes F0 91 9C 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1171A |
| Decimal | 71450 |
| UTF-8 bytes | F0 91 9C 9A |
| UTF-16 (big-endian) | D805 DF1A |
| UTF-32 | 0001171A |
| HTML decimal | 𑜚 |
| HTML hex | 𑜚 |
| CSS | \1171A |
| JavaScript | \u{1171A} or \uD805\uDF1A |
| JSON | \uD805\uDF1A |
| Python | \U0001171A |
| Python by name | \N{AHOM LETTER ALTERNATE BA} |
| Java, C# | \uD805\uDF1A |
| Rust, Swift | \u{1171A} |
| Go, C, C++ | \U0001171A |
| URL (percent-encoded) | %F0%91%9C%9A |
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 ALTERNATE BA |
| Code point | U+1171A (decimal 71450) |
| 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 | 11.0 |
Nearby in Ahom
- π 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+11717 Ahom Letter Gha
- π U+11718 Ahom Letter Bha
- π U+11719 Ahom Letter Jha
- 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
- U+11722 Ahom Vowel Sign I
- U+11723 Ahom Vowel Sign Ii
- U+11724 Ahom Vowel Sign U
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+1171A?
- F0 91 9C 9A (hex), 4 bytes. In a URL it is %F0%91%9C%9A.
- How do I write U+1171A in JavaScript or Python?
- JavaScript: \u{1171A} or \uD805\uDF1A. Python: \U0001171A.
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