π is the Unicode character CUNEIFORM SIGN LAGAB TIMES GA, code point U+121C4 (decimal 74180) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒇄, and in UTF-8 it is the 4 bytes F0 92 87 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+121C4 |
| Decimal | 74180 |
| UTF-8 bytes | F0 92 87 84 |
| UTF-16 (big-endian) | D808 DDC4 |
| UTF-32 | 000121C4 |
| HTML decimal | 𒇄 |
| HTML hex | 𒇄 |
| CSS | \121C4 |
| JavaScript | \u{121C4} or \uD808\uDDC4 |
| JSON | \uD808\uDDC4 |
| Python | \U000121C4 |
| Python by name | \N{CUNEIFORM SIGN LAGAB TIMES GA} |
| Java, C# | \uD808\uDDC4 |
| Rust, Swift | \u{121C4} |
| Go, C, C++ | \U000121C4 |
| URL (percent-encoded) | %F0%92%87%84 |
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 GA |
| Code point | U+121C4 (decimal 74180) |
| 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+121BC Cuneiform Sign Lagab Times A Plus Lal
- π½ U+121BD Cuneiform Sign Lagab Times Al
- πΎ U+121BE Cuneiform Sign Lagab Times An
- πΏ U+121BF Cuneiform Sign Lagab Times Ash Zida Tenu
- π 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+121C5 Cuneiform Sign Lagab Times Gar
- π U+121C6 Cuneiform Sign Lagab Times Gud
- π U+121C7 Cuneiform Sign Lagab Times Gud Plus Gud
- π U+121C8 Cuneiform Sign Lagab Times Ha
- π 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
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+121C4?
- F0 92 87 84 (hex), 4 bytes. In a URL it is %F0%92%87%84.
- How do I write U+121C4 in JavaScript or Python?
- JavaScript: \u{121C4} or \uD808\uDDC4. Python: \U000121C4.
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