π is the Unicode character NEWA LETTER O, code point U+1140C (decimal 70668) in the Newa block, added in Unicode 9.0. In HTML write 𑐌, and in UTF-8 it is the 4 bytes F0 91 90 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1140C |
| Decimal | 70668 |
| UTF-8 bytes | F0 91 90 8C |
| UTF-16 (big-endian) | D805 DC0C |
| UTF-32 | 0001140C |
| HTML decimal | 𑐌 |
| HTML hex | 𑐌 |
| CSS | \1140C |
| JavaScript | \u{1140C} or \uD805\uDC0C |
| JSON | \uD805\uDC0C |
| Python | \U0001140C |
| Python by name | \N{NEWA LETTER O} |
| Java, C# | \uD805\uDC0C |
| Rust, Swift | \u{1140C} |
| Go, C, C++ | \U0001140C |
| URL (percent-encoded) | %F0%91%90%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 | NEWA LETTER O |
| Code point | U+1140C (decimal 70668) |
| 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+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
- π U+11409 Newa Letter Vocalic Ll
- π U+1140A Newa Letter E
- π U+1140B Newa Letter Ai
- π U+1140D Newa Letter Au
- π U+1140E Newa Letter Ka
- π U+1140F Newa Letter Kha
- π 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
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+1140C?
- F0 91 90 8C (hex), 4 bytes. In a URL it is %F0%91%90%8C.
- How do I write U+1140C in JavaScript or Python?
- JavaScript: \u{1140C} or \uD805\uDC0C. Python: \U0001140C.
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