π is the Unicode character CUNEIFORM SIGN LU3, code point U+12216 (decimal 74262) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈖, and in UTF-8 it is the 4 bytes F0 92 88 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12216 |
| Decimal | 74262 |
| UTF-8 bytes | F0 92 88 96 |
| UTF-16 (big-endian) | D808 DE16 |
| UTF-32 | 00012216 |
| HTML decimal | 𒈖 |
| HTML hex | 𒈖 |
| CSS | \12216 |
| JavaScript | \u{12216} or \uD808\uDE16 |
| JSON | \uD808\uDE16 |
| Python | \U00012216 |
| Python by name | \N{CUNEIFORM SIGN LU3} |
| Java, C# | \uD808\uDE16 |
| Rust, Swift | \u{12216} |
| Go, C, C++ | \U00012216 |
| URL (percent-encoded) | %F0%92%88%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 LU3 |
| Code point | U+12216 (decimal 74262) |
| 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+1220E Cuneiform Sign Lu2 Times Si Plus Ash
- π U+1220F Cuneiform Sign Lu2 Times Sik2 Plus Bu
- π U+12210 Cuneiform Sign Lu2 Times Tug2
- π U+12211 Cuneiform Sign Lu2 Tenu
- π 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+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+1221D Cuneiform Sign Lum
- π U+1221E Cuneiform Sign Lum Over Lum
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+12216?
- F0 92 88 96 (hex), 4 bytes. In a URL it is %F0%92%88%96.
- How do I write U+12216 in JavaScript or Python?
- JavaScript: \u{12216} or \uD808\uDE16. Python: \U00012216.
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