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