π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N22, code point U+1258C (decimal 75148) 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 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1258C |
| Decimal | 75148 |
| UTF-8 bytes | F0 92 96 8C |
| UTF-16 (big-endian) | D809 DD8C |
| UTF-32 | 0001258C |
| HTML decimal | 𒖌 |
| HTML hex | 𒖌 |
| CSS | \1258C |
| JavaScript | \u{1258C} or \uD809\uDD8C |
| JSON | \uD809\uDD8C |
| Python | \U0001258C |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N22} |
| Java, C# | \uD809\uDD8C |
| Rust, Swift | \u{1258C} |
| Go, C, C++ | \U0001258C |
| URL (percent-encoded) | %F0%92%96%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 | CUNEIFORM NUMERIC SIGN ONE N22 |
| Code point | U+1258C (decimal 75148) |
| 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+12584 Cuneiform Numeric Sign Three N50
- π U+12585 Cuneiform Numeric Sign Four N50
- π U+12586 Cuneiform Numeric Sign Five N50
- π U+12587 Cuneiform Numeric Sign One Eighth Iku Curved
- π U+12588 Cuneiform Numeric Sign One Eighth Iku Curved Variant Form
- π U+12589 Cuneiform Numeric Sign One N01 Reversed
- π U+1258A Cuneiform Numeric Sign One Quarter Iku Curved Variant Form
- π U+1258B Cuneiform Numeric Sign One Half Iku Curved Variant Form
- π U+1258D Cuneiform Numeric Sign Two N22
- π U+1258E Cuneiform Numeric Sign One Buru Curved
- π U+1258F Cuneiform Numeric Sign Two Buru Curved
- π U+12590 Cuneiform Numeric Sign Three Buru Curved
- π U+12591 Cuneiform Numeric Sign Four Buru Curved
- π U+12592 Cuneiform Numeric Sign Five Buru Curved
- π U+12593 Cuneiform Numeric Sign One Ban2 Curved
- π U+12594 Cuneiform Numeric Sign Two Ban2 Curved
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+1258C?
- F0 92 96 8C (hex), 4 bytes. In a URL it is %F0%92%96%8C.
- How do I write U+1258C in JavaScript or Python?
- JavaScript: \u{1258C} or \uD809\uDD8C. Python: \U0001258C.
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