π is the Unicode character CUNEIFORM SIGN LUGAL SHESHIG, code point U+1221A (decimal 74266) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈚, and in UTF-8 it is the 4 bytes F0 92 88 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1221A |
| Decimal | 74266 |
| UTF-8 bytes | F0 92 88 9A |
| UTF-16 (big-endian) | D808 DE1A |
| UTF-32 | 0001221A |
| HTML decimal | 𒈚 |
| HTML hex | 𒈚 |
| CSS | \1221A |
| JavaScript | \u{1221A} or \uD808\uDE1A |
| JSON | \uD808\uDE1A |
| Python | \U0001221A |
| Python by name | \N{CUNEIFORM SIGN LUGAL SHESHIG} |
| Java, C# | \uD808\uDE1A |
| Rust, Swift | \u{1221A} |
| Go, C, C++ | \U0001221A |
| URL (percent-encoded) | %F0%92%88%9A |
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 LUGAL SHESHIG |
| Code point | U+1221A (decimal 74266) |
| 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+12212 Cuneiform Sign Lu2 Crossing Lu2
- π U+12213 Cuneiform Sign Lu2 Opposing Lu2
- π U+12214 Cuneiform Sign Lu2 Squared
- π U+12215 Cuneiform Sign Lu2 Sheshig
- π U+12216 Cuneiform Sign Lu3
- π U+12217 Cuneiform Sign Lugal
- π U+12218 Cuneiform Sign Lugal Over Lugal
- π U+12219 Cuneiform Sign Lugal Opposing Lugal
- π U+1221B Cuneiform Sign Luh
- π U+1221C Cuneiform Sign Lul
- π U+1221D Cuneiform Sign Lum
- π U+1221E Cuneiform Sign Lum Over Lum
- π U+1221F Cuneiform Sign Lum Over Lum Gar Over Gar
- π U+12220 Cuneiform Sign Ma
- π‘ U+12221 Cuneiform Sign Ma Times Tak4
- π’ U+12222 Cuneiform Sign Ma 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+1221A?
- F0 92 88 9A (hex), 4 bytes. In a URL it is %F0%92%88%9A.
- How do I write U+1221A in JavaScript or Python?
- JavaScript: \u{1221A} or \uD808\uDE1A. Python: \U0001221A.
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