π is the Unicode character CUNEIFORM SIGN LUM, code point U+1221D (decimal 74269) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈝, and in UTF-8 it is the 4 bytes F0 92 88 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1221D |
| Decimal | 74269 |
| UTF-8 bytes | F0 92 88 9D |
| UTF-16 (big-endian) | D808 DE1D |
| UTF-32 | 0001221D |
| HTML decimal | 𒈝 |
| HTML hex | 𒈝 |
| CSS | \1221D |
| JavaScript | \u{1221D} or \uD808\uDE1D |
| JSON | \uD808\uDE1D |
| Python | \U0001221D |
| Python by name | \N{CUNEIFORM SIGN LUM} |
| Java, C# | \uD808\uDE1D |
| Rust, Swift | \u{1221D} |
| Go, C, C++ | \U0001221D |
| URL (percent-encoded) | %F0%92%88%9D |
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 LUM |
| Code point | U+1221D (decimal 74269) |
| 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+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+1221C Cuneiform Sign Lul
- π 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
- π₯ U+12225 Cuneiform Sign Mar
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+1221D?
- F0 92 88 9D (hex), 4 bytes. In a URL it is %F0%92%88%9D.
- How do I write U+1221D in JavaScript or Python?
- JavaScript: \u{1221D} or \uD808\uDE1D. Python: \U0001221D.
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