π is the Unicode character AHOM LETTER THA, code point U+1170C (decimal 71436) in the Ahom block, added in Unicode 8.0. In HTML write 𑜌, and in UTF-8 it is the 4 bytes F0 91 9C 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1170C |
| Decimal | 71436 |
| UTF-8 bytes | F0 91 9C 8C |
| UTF-16 (big-endian) | D805 DF0C |
| UTF-32 | 0001170C |
| HTML decimal | 𑜌 |
| HTML hex | 𑜌 |
| CSS | \1170C |
| JavaScript | \u{1170C} or \uD805\uDF0C |
| JSON | \uD805\uDF0C |
| Python | \U0001170C |
| Python by name | \N{AHOM LETTER THA} |
| Java, C# | \uD805\uDF0C |
| Rust, Swift | \u{1170C} |
| Go, C, C++ | \U0001170C |
| URL (percent-encoded) | %F0%91%9C%8C |
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 THA |
| Code point | U+1170C (decimal 71436) |
| 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+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+1170B Ahom Letter Cha
- π 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
- π U+11714 Ahom Letter Dha
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+1170C?
- F0 91 9C 8C (hex), 4 bytes. In a URL it is %F0%91%9C%8C.
- How do I write U+1170C in JavaScript or Python?
- JavaScript: \u{1170C} or \uD805\uDF0C. Python: \U0001170C.
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