π is the Unicode character CUNEIFORM SIGN GI CROSSING GI, code point U+12103 (decimal 73987) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒄃, and in UTF-8 it is the 4 bytes F0 92 84 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12103 |
| Decimal | 73987 |
| UTF-8 bytes | F0 92 84 83 |
| UTF-16 (big-endian) | D808 DD03 |
| UTF-32 | 00012103 |
| HTML decimal | 𒄃 |
| HTML hex | 𒄃 |
| CSS | \12103 |
| JavaScript | \u{12103} or \uD808\uDD03 |
| JSON | \uD808\uDD03 |
| Python | \U00012103 |
| Python by name | \N{CUNEIFORM SIGN GI CROSSING GI} |
| Java, C# | \uD808\uDD03 |
| Rust, Swift | \u{12103} |
| Go, C, C++ | \U00012103 |
| URL (percent-encoded) | %F0%92%84%83 |
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 GI CROSSING GI |
| Code point | U+12103 (decimal 73987) |
| 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+120FB Cuneiform Sign Gar
- πΌ U+120FC Cuneiform Sign Gar3
- π½ U+120FD Cuneiform Sign Gashan
- πΎ U+120FE Cuneiform Sign Geshtin
- πΏ 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+12104 Cuneiform Sign Gi4
- π U+12105 Cuneiform Sign Gi4 Over Gi4
- π U+12106 Cuneiform Sign Gi4 Crossing Gi4
- π U+12107 Cuneiform Sign Gidim
- π 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
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+12103?
- F0 92 84 83 (hex), 4 bytes. In a URL it is %F0%92%84%83.
- How do I write U+12103 in JavaScript or Python?
- JavaScript: \u{12103} or \uD808\uDD03. Python: \U00012103.
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