π is the Unicode character CUNEIFORM SIGN GA2 TIMES EL PLUS LA, code point U+120C8 (decimal 73928) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒃈, and in UTF-8 it is the 4 bytes F0 92 83 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+120C8 |
| Decimal | 73928 |
| UTF-8 bytes | F0 92 83 88 |
| UTF-16 (big-endian) | D808 DCC8 |
| UTF-32 | 000120C8 |
| HTML decimal | 𒃈 |
| HTML hex | 𒃈 |
| CSS | \120C8 |
| JavaScript | \u{120C8} or \uD808\uDCC8 |
| JSON | \uD808\uDCC8 |
| Python | \U000120C8 |
| Python by name | \N{CUNEIFORM SIGN GA2 TIMES EL PLUS LA} |
| Java, C# | \uD808\uDCC8 |
| Rust, Swift | \u{120C8} |
| Go, C, C++ | \U000120C8 |
| URL (percent-encoded) | %F0%92%83%88 |
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 EL PLUS LA |
| Code point | U+120C8 (decimal 73928) |
| 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+120C0 Cuneiform Sign Ga2 Times Bar Plus Ra
- π U+120C1 Cuneiform Sign Ga2 Times Bur
- π U+120C2 Cuneiform Sign Ga2 Times Bur Plus Ra
- π U+120C3 Cuneiform Sign Ga2 Times Da
- π U+120C4 Cuneiform Sign Ga2 Times Di
- π U+120C5 Cuneiform Sign Ga2 Times Dim Times She
- π U+120C6 Cuneiform Sign Ga2 Times Dub
- π U+120C7 Cuneiform Sign Ga2 Times El
- π 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+120CE Cuneiform Sign Ga2 Times Gi4
- π U+120CF Cuneiform Sign Ga2 Times Gi4 Plus A
- π U+120D0 Cuneiform Sign Ga2 Times Gir2 Plus Su
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+120C8?
- F0 92 83 88 (hex), 4 bytes. In a URL it is %F0%92%83%88.
- How do I write U+120C8 in JavaScript or Python?
- JavaScript: \u{120C8} or \uD808\uDCC8. Python: \U000120C8.
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