π is the Unicode character NEWA LETTER A, code point U+11400 (decimal 70656) in the Newa block, added in Unicode 9.0. In HTML write 𑐀, and in UTF-8 it is the 4 bytes F0 91 90 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+11400 |
| Decimal | 70656 |
| UTF-8 bytes | F0 91 90 80 |
| UTF-16 (big-endian) | D805 DC00 |
| UTF-32 | 00011400 |
| HTML decimal | 𑐀 |
| HTML hex | 𑐀 |
| CSS | \11400 |
| JavaScript | \u{11400} or \uD805\uDC00 |
| JSON | \uD805\uDC00 |
| Python | \U00011400 |
| Python by name | \N{NEWA LETTER A} |
| Java, C# | \uD805\uDC00 |
| Rust, Swift | \u{11400} |
| Go, C, C++ | \U00011400 |
| URL (percent-encoded) | %F0%91%90%80 |
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 A |
| Code point | U+11400 (decimal 70656) |
| 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+11401 Newa Letter Aa
- π U+11402 Newa Letter I
- π U+11403 Newa Letter Ii
- π U+11404 Newa Letter U
- π U+11405 Newa Letter Uu
- π U+11406 Newa Letter Vocalic R
- π U+11407 Newa Letter Vocalic Rr
- π U+11408 Newa Letter Vocalic L
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+11400?
- F0 91 90 80 (hex), 4 bytes. In a URL it is %F0%91%90%80.
- How do I write U+11400 in JavaScript or Python?
- JavaScript: \u{11400} or \uD805\uDC00. Python: \U00011400.
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