π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N37, code point U+12641 (decimal 75329) 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 99 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12641 |
| Decimal | 75329 |
| UTF-8 bytes | F0 92 99 81 |
| UTF-16 (big-endian) | D809 DE41 |
| UTF-32 | 00012641 |
| HTML decimal | 𒙁 |
| HTML hex | 𒙁 |
| CSS | \12641 |
| JavaScript | \u{12641} or \uD809\uDE41 |
| JSON | \uD809\uDE41 |
| Python | \U00012641 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N37} |
| Java, C# | \uD809\uDE41 |
| Rust, Swift | \u{12641} |
| Go, C, C++ | \U00012641 |
| URL (percent-encoded) | %F0%92%99%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 ONE N37 |
| Code point | U+12641 (decimal 75329) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Proto 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+12639 Cuneiform Numeric Sign Four N20
- πΊ U+1263A Cuneiform Numeric Sign Five N20
- π» U+1263B Cuneiform Numeric Sign Six N20
- πΌ U+1263C Cuneiform Numeric Sign Seven N20
- π½ U+1263D Cuneiform Numeric Sign Eight N20
- πΎ U+1263E Cuneiform Numeric Sign Nine N20
- πΏ U+1263F Cuneiform Numeric Sign One N47
- π U+12640 Cuneiform Numeric Sign Two N47
- π U+12642 Cuneiform Numeric Sign Two N37
- π U+12643 Cuneiform Numeric Sign One N09
- π U+12644 Cuneiform Numeric Sign One N11
- π U+12645 Cuneiform Numeric Sign One N12
- π U+12646 Cuneiform Numeric Sign One N07a
- π U+12647 Cuneiform Numeric Sign Two N07a
- π U+12648 Cuneiform Numeric Sign Three N07a
- π U+12649 Cuneiform Numeric Sign One N07b
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+12641?
- F0 92 99 81 (hex), 4 bytes. In a URL it is %F0%92%99%81.
- How do I write U+12641 in JavaScript or Python?
- JavaScript: \u{12641} or \uD809\uDE41. Python: \U00012641.
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