π is the Unicode character CUNEIFORM SIGN GA2 TIMES HA PLUS LU PLUS ESH2, code point U+120D1 (decimal 73937) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒃑, and in UTF-8 it is the 4 bytes F0 92 83 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+120D1 |
| Decimal | 73937 |
| UTF-8 bytes | F0 92 83 91 |
| UTF-16 (big-endian) | D808 DCD1 |
| UTF-32 | 000120D1 |
| HTML decimal | 𒃑 |
| HTML hex | 𒃑 |
| CSS | \120D1 |
| JavaScript | \u{120D1} or \uD808\uDCD1 |
| JSON | \uD808\uDCD1 |
| Python | \U000120D1 |
| Python by name | \N{CUNEIFORM SIGN GA2 TIMES HA PLUS LU PLUS ESH2} |
| Java, C# | \uD808\uDCD1 |
| Rust, Swift | \u{120D1} |
| Go, C, C++ | \U000120D1 |
| URL (percent-encoded) | %F0%92%83%91 |
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 HA PLUS LU PLUS ESH2 |
| Code point | U+120D1 (decimal 73937) |
| 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+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
- π 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
- π 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
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+120D1?
- F0 92 83 91 (hex), 4 bytes. In a URL it is %F0%92%83%91.
- How do I write U+120D1 in JavaScript or Python?
- JavaScript: \u{120D1} or \uD808\uDCD1. Python: \U000120D1.
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