π is the Unicode character CUNEIFORM SIGN LUL, code point U+1221C (decimal 74268) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈜, and in UTF-8 it is the 4 bytes F0 92 88 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1221C |
| Decimal | 74268 |
| UTF-8 bytes | F0 92 88 9C |
| UTF-16 (big-endian) | D808 DE1C |
| UTF-32 | 0001221C |
| HTML decimal | 𒈜 |
| HTML hex | 𒈜 |
| CSS | \1221C |
| JavaScript | \u{1221C} or \uD808\uDE1C |
| JSON | \uD808\uDE1C |
| Python | \U0001221C |
| Python by name | \N{CUNEIFORM SIGN LUL} |
| Java, C# | \uD808\uDE1C |
| Rust, Swift | \u{1221C} |
| Go, C, C++ | \U0001221C |
| URL (percent-encoded) | %F0%92%88%9C |
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 LUL |
| Code point | U+1221C (decimal 74268) |
| 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+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+1221A Cuneiform Sign Lugal Sheshig
- π U+1221B Cuneiform Sign Luh
- π 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
- π£ U+12223 Cuneiform Sign Ma2
- π€ U+12224 Cuneiform Sign Mah
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+1221C?
- F0 92 88 9C (hex), 4 bytes. In a URL it is %F0%92%88%9C.
- How do I write U+1221C in JavaScript or Python?
- JavaScript: \u{1221C} or \uD808\uDE1C. Python: \U0001221C.
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