π is the Unicode character CUNEIFORM NUMERIC SIGN TWO N36, code point U+12617 (decimal 75287) in the Archaic Cuneiform Numerals block, added in Unicode 18.0. In HTML write 𒘗, and in UTF-8 it is the 4 bytes F0 92 98 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12617 |
| Decimal | 75287 |
| UTF-8 bytes | F0 92 98 97 |
| UTF-16 (big-endian) | D809 DE17 |
| UTF-32 | 00012617 |
| HTML decimal | 𒘗 |
| HTML hex | 𒘗 |
| CSS | \12617 |
| JavaScript | \u{12617} or \uD809\uDE17 |
| JSON | \uD809\uDE17 |
| Python | \U00012617 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN TWO N36} |
| Java, C# | \uD809\uDE17 |
| Rust, Swift | \u{12617} |
| Go, C, C++ | \U00012617 |
| URL (percent-encoded) | %F0%92%98%97 |
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 | CUNEIFORM NUMERIC SIGN TWO N36 |
| Code point | U+12617 (decimal 75287) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Proto Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+1260F Cuneiform Numeric Sign Five N19
- π U+12610 Cuneiform Numeric Sign Six N19
- π U+12611 Cuneiform Numeric Sign Seven N19
- π U+12612 Cuneiform Numeric Sign Eight N19
- π U+12613 Cuneiform Numeric Sign Nine N19
- π U+12614 Cuneiform Numeric Sign One N46
- π U+12615 Cuneiform Numeric Sign Two N46
- π U+12616 Cuneiform Numeric Sign One N36
- π U+12618 Cuneiform Numeric Sign Three N36
- π U+12619 Cuneiform Numeric Sign Four N36
- π U+1261A Cuneiform Numeric Sign Five N36
- π U+1261B Cuneiform Numeric Sign Six N36
- π U+1261C Cuneiform Numeric Sign Seven N36
- π U+1261D Cuneiform Numeric Sign Eight N36
- π U+1261E Cuneiform Numeric Sign Nine N36
- π U+1261F Cuneiform Numeric Sign One N49
All 311 characters: Archaic Cuneiform Numerals.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒘗 (decimal) or 𒘗 (hex).
- What is the UTF-8 encoding of U+12617?
- F0 92 98 97 (hex), 4 bytes. In a URL it is %F0%92%98%97.
- How do I write U+12617 in JavaScript or Python?
- JavaScript: \u{12617} or \uD809\uDE17. Python: \U00012617.
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