π is the Unicode character NEWA LETTER KHA, code point U+1140F (decimal 70671) in the Newa block, added in Unicode 9.0. In HTML write 𑐏, and in UTF-8 it is the 4 bytes F0 91 90 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1140F |
| Decimal | 70671 |
| UTF-8 bytes | F0 91 90 8F |
| UTF-16 (big-endian) | D805 DC0F |
| UTF-32 | 0001140F |
| HTML decimal | 𑐏 |
| HTML hex | 𑐏 |
| CSS | \1140F |
| JavaScript | \u{1140F} or \uD805\uDC0F |
| JSON | \uD805\uDC0F |
| Python | \U0001140F |
| Python by name | \N{NEWA LETTER KHA} |
| Java, C# | \uD805\uDC0F |
| Rust, Swift | \u{1140F} |
| Go, C, C++ | \U0001140F |
| URL (percent-encoded) | %F0%91%90%8F |
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 | NEWA LETTER KHA |
| Code point | U+1140F (decimal 70671) |
| Block | Newa (U+11400βU+1147F) |
| General category | Lo: Other letter |
| Script | Newa |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 9.0 |
Nearby in Newa
- π U+11407 Newa Letter Vocalic Rr
- π U+11408 Newa Letter Vocalic L
- π U+11409 Newa Letter Vocalic Ll
- π U+1140A Newa Letter E
- π U+1140B Newa Letter Ai
- π U+1140C Newa Letter O
- π U+1140D Newa Letter Au
- π U+1140E Newa Letter Ka
- π U+11410 Newa Letter Ga
- π U+11411 Newa Letter Gha
- π U+11412 Newa Letter Nga
- π U+11413 Newa Letter Ngha
- π U+11414 Newa Letter Ca
- π U+11415 Newa Letter Cha
- π U+11416 Newa Letter Ja
- π U+11417 Newa Letter Jha
All 97 characters: Newa.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑐏 (decimal) or 𑐏 (hex).
- What is the UTF-8 encoding of U+1140F?
- F0 91 90 8F (hex), 4 bytes. In a URL it is %F0%91%90%8F.
- How do I write U+1140F in JavaScript or Python?
- JavaScript: \u{1140F} or \uD805\uDC0F. Python: \U0001140F.
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