π is the Unicode character CUNEIFORM NUMERIC SIGN FOUR N02, code point U+125C1 (decimal 75201) 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 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+125C1 |
| Decimal | 75201 |
| UTF-8 bytes | F0 92 97 81 |
| UTF-16 (big-endian) | D809 DDC1 |
| UTF-32 | 000125C1 |
| HTML decimal | 𒗁 |
| HTML hex | 𒗁 |
| CSS | \125C1 |
| JavaScript | \u{125C1} or \uD809\uDDC1 |
| JSON | \uD809\uDDC1 |
| Python | \U000125C1 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN FOUR N02} |
| Java, C# | \uD809\uDDC1 |
| Rust, Swift | \u{125C1} |
| Go, C, C++ | \U000125C1 |
| URL (percent-encoded) | %F0%92%97%81 |
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 N02 |
| Code point | U+125C1 (decimal 75201) |
| 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+125B9 Cuneiform Numeric Sign Four N39a
- πΊ U+125BA Cuneiform Numeric Sign One N39b
- π» U+125BB Cuneiform Numeric Sign Two N39b
- πΌ U+125BC Cuneiform Numeric Sign Three N39b
- π½ U+125BD Cuneiform Numeric Sign Four N39b
- πΎ U+125BE Cuneiform Numeric Sign One N02
- πΏ U+125BF Cuneiform Numeric Sign Two N02
- π U+125C0 Cuneiform Numeric Sign Three N02
- π U+125C2 Cuneiform Numeric Sign Five N02
- π U+125C3 Cuneiform Numeric Sign Six N02
- π U+125C4 Cuneiform Numeric Sign Seven N02
- π U+125C5 Cuneiform Numeric Sign Eight N02
- π U+125C6 Cuneiform Numeric Sign Nine N02
- π U+125C7 Cuneiform Numeric Sign One N15
- π U+125C8 Cuneiform Numeric Sign Two N15
- π U+125C9 Cuneiform Numeric Sign Three N15
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+125C1?
- F0 92 97 81 (hex), 4 bytes. In a URL it is %F0%92%97%81.
- How do I write U+125C1 in JavaScript or Python?
- JavaScript: \u{125C1} or \uD809\uDDC1. Python: \U000125C1.
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