π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N51, code point U+1259A (decimal 75162) 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 96 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1259A |
| Decimal | 75162 |
| UTF-8 bytes | F0 92 96 9A |
| UTF-16 (big-endian) | D809 DD9A |
| UTF-32 | 0001259A |
| HTML decimal | 𒖚 |
| HTML hex | 𒖚 |
| CSS | \1259A |
| JavaScript | \u{1259A} or \uD809\uDD9A |
| JSON | \uD809\uDD9A |
| Python | \U0001259A |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N51} |
| Java, C# | \uD809\uDD9A |
| Rust, Swift | \u{1259A} |
| Go, C, C++ | \U0001259A |
| URL (percent-encoded) | %F0%92%96%9A |
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 ONE N51 |
| Code point | U+1259A (decimal 75162) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+12592 Cuneiform Numeric Sign Five Buru Curved
- π U+12593 Cuneiform Numeric Sign One Ban2 Curved
- π U+12594 Cuneiform Numeric Sign Two Ban2 Curved
- π U+12595 Cuneiform Numeric Sign Three Ban2 Curved
- π U+12596 Cuneiform Numeric Sign Four Ban2 Curved
- π U+12597 Cuneiform Numeric Sign Five Ban2 Curved
- π U+12598 Cuneiform Numeric Sign Ninda2 Times She Plus One Ash Curved
- π U+12599 Cuneiform Numeric Sign Ninda2 Times She Plus Two Ash Curved
- π U+1259B Cuneiform Numeric Sign Two N51
- π U+1259C Cuneiform Numeric Sign Three N51
- π U+1259D Cuneiform Numeric Sign Four N51
- π U+1259E Cuneiform Numeric Sign Five N51
- π U+1259F Cuneiform Numeric Sign Six N51
- π U+125A0 Cuneiform Numeric Sign Seven N51
- π‘ U+125A1 Cuneiform Numeric Sign Eight N51
- π’ U+125A2 Cuneiform Numeric Sign Nine N51
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+1259A?
- F0 92 96 9A (hex), 4 bytes. In a URL it is %F0%92%96%9A.
- How do I write U+1259A in JavaScript or Python?
- JavaScript: \u{1259A} or \uD809\uDD9A. Python: \U0001259A.
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