π is the Unicode character NEWA DOUBLE DANDA, code point U+1144C (decimal 70732) in the Newa block, added in Unicode 9.0. In HTML write 𑑌, and in UTF-8 it is the 4 bytes F0 91 91 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1144C |
| Decimal | 70732 |
| UTF-8 bytes | F0 91 91 8C |
| UTF-16 (big-endian) | D805 DC4C |
| UTF-32 | 0001144C |
| HTML decimal | 𑑌 |
| HTML hex | 𑑌 |
| CSS | \1144C |
| JavaScript | \u{1144C} or \uD805\uDC4C |
| JSON | \uD805\uDC4C |
| Python | \U0001144C |
| Python by name | \N{NEWA DOUBLE DANDA} |
| Java, C# | \uD805\uDC4C |
| Rust, Swift | \u{1144C} |
| Go, C, C++ | \U0001144C |
| URL (percent-encoded) | %F0%91%91%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 DOUBLE DANDA |
| Code point | U+1144C (decimal 70732) |
| Block | Newa (U+11400βU+1147F) |
| General category | Po: Other punctuation |
| 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+11444 Newa Sign Anusvara
- U+11445 Newa Sign Visarga
- U+11446 Newa Sign Nukta
- π U+11447 Newa Sign Avagraha
- π U+11448 Newa Sign Final Anusvara
- π U+11449 Newa Om
- π U+1144A Newa Siddhi
- π U+1144B Newa Danda
- π U+1144D Newa Comma
- π U+1144E Newa Gap Filler
- π U+1144F Newa Abbreviation Sign
- π U+11450 Newa Digit Zero
- π U+11451 Newa Digit One
- π U+11452 Newa Digit Two
- π U+11453 Newa Digit Three
- π U+11454 Newa Digit Four
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+1144C?
- F0 91 91 8C (hex), 4 bytes. In a URL it is %F0%91%91%8C.
- How do I write U+1144C in JavaScript or Python?
- JavaScript: \u{1144C} or \uD805\uDC4C. Python: \U0001144C.
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