π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N14 FLAT, code point U+12656 (decimal 75350) 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 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12656 |
| Decimal | 75350 |
| UTF-8 bytes | F0 92 99 96 |
| UTF-16 (big-endian) | D809 DE56 |
| UTF-32 | 00012656 |
| HTML decimal | 𒙖 |
| HTML hex | 𒙖 |
| CSS | \12656 |
| JavaScript | \u{12656} or \uD809\uDE56 |
| JSON | \uD809\uDE56 |
| Python | \U00012656 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N14 FLAT} |
| Java, C# | \uD809\uDE56 |
| Rust, Swift | \u{12656} |
| Go, C, C++ | \U00012656 |
| URL (percent-encoded) | %F0%92%99%96 |
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 N14 FLAT |
| Code point | U+12656 (decimal 75350) |
| 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+1264E Cuneiform Numeric Sign Three N01 Flat
- π U+1264F Cuneiform Numeric Sign Four N01 Flat
- π U+12650 Cuneiform Numeric Sign Five N01 Flat
- π U+12651 Cuneiform Numeric Sign Six N01 Flat
- π U+12652 Cuneiform Numeric Sign Seven N01 Flat
- π U+12653 Cuneiform Numeric Sign Eight N01 Flat
- π U+12654 Cuneiform Numeric Sign Nine N01 Flat
- π U+12655 Cuneiform Numeric Sign One N08 Flat
- π U+12657 Cuneiform Numeric Sign Two N14 Flat
- π U+12658 Cuneiform Numeric Sign Three N14 Flat
- π U+12659 Cuneiform Numeric Sign Four N14 Flat
- π U+1265A Cuneiform Numeric Sign Five N14 Flat
- π U+1265B Cuneiform Numeric Sign Six N14 Flat
- π U+1265C Cuneiform Numeric Sign Seven N14 Flat
- π U+1265D Cuneiform Numeric Sign Eight N14 Flat
- π U+1265E Cuneiform Numeric Sign Nine N14 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+12656?
- F0 92 99 96 (hex), 4 bytes. In a URL it is %F0%92%99%96.
- How do I write U+12656 in JavaScript or Python?
- JavaScript: \u{12656} or \uD809\uDE56. Python: \U00012656.
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