π is the Unicode character CUNEIFORM SIGN LAGAB TIMES BI, code point U+121C1 (decimal 74177) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒇁, and in UTF-8 it is the 4 bytes F0 92 87 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+121C1 |
| Decimal | 74177 |
| UTF-8 bytes | F0 92 87 81 |
| UTF-16 (big-endian) | D808 DDC1 |
| UTF-32 | 000121C1 |
| HTML decimal | 𒇁 |
| HTML hex | 𒇁 |
| CSS | \121C1 |
| JavaScript | \u{121C1} or \uD808\uDDC1 |
| JSON | \uD808\uDDC1 |
| Python | \U000121C1 |
| Python by name | \N{CUNEIFORM SIGN LAGAB TIMES BI} |
| Java, C# | \uD808\uDDC1 |
| Rust, Swift | \u{121C1} |
| Go, C, C++ | \U000121C1 |
| URL (percent-encoded) | %F0%92%87%81 |
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 BI |
| Code point | U+121C1 (decimal 74177) |
| 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+121B9 Cuneiform Sign Lagab Times A
- πΊ U+121BA Cuneiform Sign Lagab Times A Plus Da Plus Ha
- π» U+121BB Cuneiform Sign Lagab Times A Plus Gar
- πΌ 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+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+121C8 Cuneiform Sign Lagab Times Ha
- π U+121C9 Cuneiform Sign Lagab Times Hal
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+121C1?
- F0 92 87 81 (hex), 4 bytes. In a URL it is %F0%92%87%81.
- How do I write U+121C1 in JavaScript or Python?
- JavaScript: \u{121C1} or \uD808\uDDC1. Python: \U000121C1.
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