π is the Unicode character CUNEIFORM SIGN LAGAB TIMES HA, code point U+121C8 (decimal 74184) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒇈, and in UTF-8 it is the 4 bytes F0 92 87 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+121C8 |
| Decimal | 74184 |
| UTF-8 bytes | F0 92 87 88 |
| UTF-16 (big-endian) | D808 DDC8 |
| UTF-32 | 000121C8 |
| HTML decimal | 𒇈 |
| HTML hex | 𒇈 |
| CSS | \121C8 |
| JavaScript | \u{121C8} or \uD808\uDDC8 |
| JSON | \uD808\uDDC8 |
| Python | \U000121C8 |
| Python by name | \N{CUNEIFORM SIGN LAGAB TIMES HA} |
| Java, C# | \uD808\uDDC8 |
| Rust, Swift | \u{121C8} |
| Go, C, C++ | \U000121C8 |
| URL (percent-encoded) | %F0%92%87%88 |
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 LAGAB TIMES HA |
| Code point | U+121C8 (decimal 74184) |
| 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+121C0 Cuneiform Sign Lagab Times Bad
- π U+121C1 Cuneiform Sign Lagab Times Bi
- π U+121C2 Cuneiform Sign Lagab Times Dar
- π U+121C3 Cuneiform Sign Lagab Times En
- π U+121C4 Cuneiform Sign Lagab Times Ga
- π U+121C5 Cuneiform Sign Lagab Times Gar
- π U+121C6 Cuneiform Sign Lagab Times Gud
- π U+121C7 Cuneiform Sign Lagab Times Gud Plus Gud
- π U+121C9 Cuneiform Sign Lagab Times Hal
- π U+121CA Cuneiform Sign Lagab Times Hi Times Nun
- π U+121CB Cuneiform Sign Lagab Times Igi Gunu
- π U+121CC Cuneiform Sign Lagab Times Im
- π U+121CD Cuneiform Sign Lagab Times Im Plus Ha
- π U+121CE Cuneiform Sign Lagab Times Im Plus Lu
- π U+121CF Cuneiform Sign Lagab Times Ki
- π U+121D0 Cuneiform Sign Lagab Times Kin
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+121C8?
- F0 92 87 88 (hex), 4 bytes. In a URL it is %F0%92%87%88.
- How do I write U+121C8 in JavaScript or Python?
- JavaScript: \u{121C8} or \uD808\uDDC8. Python: \U000121C8.
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