π is the Unicode character CUNEIFORM SIGN GA2 TIMES GI4, code point U+120CE (decimal 73934) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒃎, and in UTF-8 it is the 4 bytes F0 92 83 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+120CE |
| Decimal | 73934 |
| UTF-8 bytes | F0 92 83 8E |
| UTF-16 (big-endian) | D808 DCCE |
| UTF-32 | 000120CE |
| HTML decimal | 𒃎 |
| HTML hex | 𒃎 |
| CSS | \120CE |
| JavaScript | \u{120CE} or \uD808\uDCCE |
| JSON | \uD808\uDCCE |
| Python | \U000120CE |
| Python by name | \N{CUNEIFORM SIGN GA2 TIMES GI4} |
| Java, C# | \uD808\uDCCE |
| Rust, Swift | \u{120CE} |
| Go, C, C++ | \U000120CE |
| URL (percent-encoded) | %F0%92%83%8E |
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 GA2 TIMES GI4 |
| Code point | U+120CE (decimal 73934) |
| 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+120C6 Cuneiform Sign Ga2 Times Dub
- π U+120C7 Cuneiform Sign Ga2 Times El
- π U+120C8 Cuneiform Sign Ga2 Times El Plus La
- π U+120C9 Cuneiform Sign Ga2 Times En
- π U+120CA Cuneiform Sign Ga2 Times En Times Gan2 Tenu
- π U+120CB Cuneiform Sign Ga2 Times Gan2 Tenu
- π U+120CC Cuneiform Sign Ga2 Times Gar
- π U+120CD Cuneiform Sign Ga2 Times Gi
- π U+120CF Cuneiform Sign Ga2 Times Gi4 Plus A
- π U+120D0 Cuneiform Sign Ga2 Times Gir2 Plus Su
- π U+120D1 Cuneiform Sign Ga2 Times Ha Plus Lu Plus Esh2
- π U+120D2 Cuneiform Sign Ga2 Times Hal
- π U+120D3 Cuneiform Sign Ga2 Times Hal Plus La
- π U+120D4 Cuneiform Sign Ga2 Times Hi Plus Li
- π U+120D5 Cuneiform Sign Ga2 Times Hub2
- π U+120D6 Cuneiform Sign Ga2 Times Igi Gunu
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+120CE?
- F0 92 83 8E (hex), 4 bytes. In a URL it is %F0%92%83%8E.
- How do I write U+120CE in JavaScript or Python?
- JavaScript: \u{120CE} or \uD808\uDCCE. Python: \U000120CE.
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