π is the Unicode character CUNEIFORM SIGN GIDIM, code point U+12107 (decimal 73991) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒄇, and in UTF-8 it is the 4 bytes F0 92 84 87.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12107 |
| Decimal | 73991 |
| UTF-8 bytes | F0 92 84 87 |
| UTF-16 (big-endian) | D808 DD07 |
| UTF-32 | 00012107 |
| HTML decimal | 𒄇 |
| HTML hex | 𒄇 |
| CSS | \12107 |
| JavaScript | \u{12107} or \uD808\uDD07 |
| JSON | \uD808\uDD07 |
| Python | \U00012107 |
| Python by name | \N{CUNEIFORM SIGN GIDIM} |
| Java, C# | \uD808\uDD07 |
| Rust, Swift | \u{12107} |
| Go, C, C++ | \U00012107 |
| URL (percent-encoded) | %F0%92%84%87 |
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 SIGN GIDIM |
| Code point | U+12107 (decimal 73991) |
| Block | Cuneiform (U+12000βU+123FF) |
| General category | Lo: Other letter |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform
- πΏ U+120FF Cuneiform Sign Geshtin Times Kur
- π U+12100 Cuneiform Sign Gi
- π U+12101 Cuneiform Sign Gi Times E
- π U+12102 Cuneiform Sign Gi Times U
- π U+12103 Cuneiform Sign Gi Crossing Gi
- π U+12104 Cuneiform Sign Gi4
- π U+12105 Cuneiform Sign Gi4 Over Gi4
- π U+12106 Cuneiform Sign Gi4 Crossing Gi4
- π U+12108 Cuneiform Sign Gir2
- π U+12109 Cuneiform Sign Gir2 Gunu
- π U+1210A Cuneiform Sign Gir3
- π U+1210B Cuneiform Sign Gir3 Times A Plus Igi
- π U+1210C Cuneiform Sign Gir3 Times Gan2 Tenu
- π U+1210D Cuneiform Sign Gir3 Times Igi
- π U+1210E Cuneiform Sign Gir3 Times Lu Plus Igi
- π U+1210F Cuneiform Sign Gir3 Times Pa
All 922 characters: Cuneiform.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒄇 (decimal) or 𒄇 (hex).
- What is the UTF-8 encoding of U+12107?
- F0 92 84 87 (hex), 4 bytes. In a URL it is %F0%92%84%87.
- How do I write U+12107 in JavaScript or Python?
- JavaScript: \u{12107} or \uD808\uDD07. Python: \U00012107.
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