π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N12, code point U+12645 (decimal 75333) 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 85.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12645 |
| Decimal | 75333 |
| UTF-8 bytes | F0 92 99 85 |
| UTF-16 (big-endian) | D809 DE45 |
| UTF-32 | 00012645 |
| HTML decimal | 𒙅 |
| HTML hex | 𒙅 |
| CSS | \12645 |
| JavaScript | \u{12645} or \uD809\uDE45 |
| JSON | \uD809\uDE45 |
| Python | \U00012645 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N12} |
| Java, C# | \uD809\uDE45 |
| Rust, Swift | \u{12645} |
| Go, C, C++ | \U00012645 |
| URL (percent-encoded) | %F0%92%99%85 |
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 N12 |
| Code point | U+12645 (decimal 75333) |
| 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+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+12641 Cuneiform Numeric Sign One N37
- π U+12642 Cuneiform Numeric Sign Two N37
- π U+12643 Cuneiform Numeric Sign One N09
- π U+12644 Cuneiform Numeric Sign One N11
- π 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
- π U+1264A Cuneiform Numeric Sign Two N07b
- π U+1264B Cuneiform Numeric Sign Three N07b
- π U+1264C Cuneiform Numeric Sign One N01 Flat
- π U+1264D Cuneiform Numeric Sign Two N01 Flat
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+12645?
- F0 92 99 85 (hex), 4 bytes. In a URL it is %F0%92%99%85.
- How do I write U+12645 in JavaScript or Python?
- JavaScript: \u{12645} or \uD809\uDE45. Python: \U00012645.
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