π is the Unicode character CUNEIFORM SIGN GA2 TIMES IGI GUNU, code point U+120D6 (decimal 73942) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒃖, and in UTF-8 it is the 4 bytes F0 92 83 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+120D6 |
| Decimal | 73942 |
| UTF-8 bytes | F0 92 83 96 |
| UTF-16 (big-endian) | D808 DCD6 |
| UTF-32 | 000120D6 |
| HTML decimal | 𒃖 |
| HTML hex | 𒃖 |
| CSS | \120D6 |
| JavaScript | \u{120D6} or \uD808\uDCD6 |
| JSON | \uD808\uDCD6 |
| Python | \U000120D6 |
| Python by name | \N{CUNEIFORM SIGN GA2 TIMES IGI GUNU} |
| Java, C# | \uD808\uDCD6 |
| Rust, Swift | \u{120D6} |
| Go, C, C++ | \U000120D6 |
| URL (percent-encoded) | %F0%92%83%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 SIGN GA2 TIMES IGI GUNU |
| Code point | U+120D6 (decimal 73942) |
| 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+120CE Cuneiform Sign Ga2 Times Gi4
- π 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+120D7 Cuneiform Sign Ga2 Times Ish Plus Hu Plus Ash
- π U+120D8 Cuneiform Sign Ga2 Times Kak
- π U+120D9 Cuneiform Sign Ga2 Times Kaskal
- π U+120DA Cuneiform Sign Ga2 Times Kid
- π U+120DB Cuneiform Sign Ga2 Times Kid Plus Lal
- π U+120DC Cuneiform Sign Ga2 Times Ku3 Plus An
- π U+120DD Cuneiform Sign Ga2 Times La
- π U+120DE Cuneiform Sign Ga2 Times Me Plus En
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+120D6?
- F0 92 83 96 (hex), 4 bytes. In a URL it is %F0%92%83%96.
- How do I write U+120D6 in JavaScript or Python?
- JavaScript: \u{120D6} or \uD808\uDCD6. Python: \U000120D6.
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