π is the Unicode character NEWA LETTER TTHA, code point U+1141B (decimal 70683) in the Newa block, added in Unicode 9.0. In HTML write 𑐛, and in UTF-8 it is the 4 bytes F0 91 90 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1141B |
| Decimal | 70683 |
| UTF-8 bytes | F0 91 90 9B |
| UTF-16 (big-endian) | D805 DC1B |
| UTF-32 | 0001141B |
| HTML decimal | 𑐛 |
| HTML hex | 𑐛 |
| CSS | \1141B |
| JavaScript | \u{1141B} or \uD805\uDC1B |
| JSON | \uD805\uDC1B |
| Python | \U0001141B |
| Python by name | \N{NEWA LETTER TTHA} |
| Java, C# | \uD805\uDC1B |
| Rust, Swift | \u{1141B} |
| Go, C, C++ | \U0001141B |
| URL (percent-encoded) | %F0%91%90%9B |
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 TTHA |
| Code point | U+1141B (decimal 70683) |
| 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+11413 Newa Letter Ngha
- π U+11414 Newa Letter Ca
- π U+11415 Newa Letter Cha
- π U+11416 Newa Letter Ja
- π U+11417 Newa Letter Jha
- π U+11418 Newa Letter Nya
- π U+11419 Newa Letter Nyha
- π U+1141A Newa Letter Tta
- π U+1141C Newa Letter Dda
- π U+1141D Newa Letter Ddha
- π U+1141E Newa Letter Nna
- π U+1141F Newa Letter Ta
- π U+11420 Newa Letter Tha
- π‘ U+11421 Newa Letter Da
- π’ U+11422 Newa Letter Dha
- π£ U+11423 Newa Letter Na
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+1141B?
- F0 91 90 9B (hex), 4 bytes. In a URL it is %F0%91%90%9B.
- How do I write U+1141B in JavaScript or Python?
- JavaScript: \u{1141B} or \uD805\uDC1B. Python: \U0001141B.
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