π is the Unicode character CUNEIFORM NUMERIC SIGN FOUR N35, code point U+125CF (decimal 75215) 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 97 8F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+125CF |
| Decimal | 75215 |
| UTF-8 bytes | F0 92 97 8F |
| UTF-16 (big-endian) | D809 DDCF |
| UTF-32 | 000125CF |
| HTML decimal | 𒗏 |
| HTML hex | 𒗏 |
| CSS | \125CF |
| JavaScript | \u{125CF} or \uD809\uDDCF |
| JSON | \uD809\uDDCF |
| Python | \U000125CF |
| Python by name | \N{CUNEIFORM NUMERIC SIGN FOUR N35} |
| Java, C# | \uD809\uDDCF |
| Rust, Swift | \u{125CF} |
| Go, C, C++ | \U000125CF |
| URL (percent-encoded) | %F0%92%97%8F |
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 FOUR N35 |
| Code point | U+125CF (decimal 75215) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Proto Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 4 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+125C7 Cuneiform Numeric Sign One N15
- π U+125C8 Cuneiform Numeric Sign Two N15
- π U+125C9 Cuneiform Numeric Sign Three N15
- π U+125CA Cuneiform Numeric Sign Four N15
- π U+125CB Cuneiform Numeric Sign Five N15
- π U+125CC Cuneiform Numeric Sign One N35
- π U+125CD Cuneiform Numeric Sign Two N35
- π U+125CE Cuneiform Numeric Sign Three N35
- π U+125D0 Cuneiform Numeric Sign Five N35
- π U+125D1 Cuneiform Numeric Sign One N06
- π U+125D2 Cuneiform Numeric Sign Two N06
- π U+125D3 Cuneiform Numeric Sign Three N06
- π U+125D4 Cuneiform Numeric Sign Four N06
- π U+125D5 Cuneiform Numeric Sign Five N06
- π U+125D6 Cuneiform Numeric Sign Six N06
- π U+125D7 Cuneiform Numeric Sign Seven N06
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+125CF?
- F0 92 97 8F (hex), 4 bytes. In a URL it is %F0%92%97%8F.
- How do I write U+125CF in JavaScript or Python?
- JavaScript: \u{125CF} or \uD809\uDDCF. Python: \U000125CF.
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