π is the Unicode character CUNEIFORM SIGN UM TIMES LAGAB, code point U+1231E (decimal 74526) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒌞, and in UTF-8 it is the 4 bytes F0 92 8C 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1231E |
| Decimal | 74526 |
| UTF-8 bytes | F0 92 8C 9E |
| UTF-16 (big-endian) | D808 DF1E |
| UTF-32 | 0001231E |
| HTML decimal | 𒌞 |
| HTML hex | 𒌞 |
| CSS | \1231E |
| JavaScript | \u{1231E} or \uD808\uDF1E |
| JSON | \uD808\uDF1E |
| Python | \U0001231E |
| Python by name | \N{CUNEIFORM SIGN UM TIMES LAGAB} |
| Java, C# | \uD808\uDF1E |
| Rust, Swift | \u{1231E} |
| Go, C, C++ | \U0001231E |
| URL (percent-encoded) | %F0%92%8C%9E |
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 UM TIMES LAGAB |
| Code point | U+1231E (decimal 74526) |
| 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+12316 Cuneiform Sign Ud Times Mi
- π U+12317 Cuneiform Sign Ud Times U Plus U Plus U
- π U+12318 Cuneiform Sign Ud Times U Plus U Plus U Gunu
- π U+12319 Cuneiform Sign Ud Gunu
- π U+1231A Cuneiform Sign Ud Sheshig
- π U+1231B Cuneiform Sign Ud Sheshig Times Bad
- π U+1231C Cuneiform Sign Udug
- π U+1231D Cuneiform Sign Um
- π U+1231F Cuneiform Sign Um Times Me Plus Da
- π U+12320 Cuneiform Sign Um Times Sha3
- π‘ U+12321 Cuneiform Sign Um Times U
- π’ U+12322 Cuneiform Sign Umbin
- π£ U+12323 Cuneiform Sign Umum
- π€ U+12324 Cuneiform Sign Umum Times Kaskal
- π₯ U+12325 Cuneiform Sign Umum Times Pa
- π¦ U+12326 Cuneiform Sign Un
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+1231E?
- F0 92 8C 9E (hex), 4 bytes. In a URL it is %F0%92%8C%9E.
- How do I write U+1231E in JavaScript or Python?
- JavaScript: \u{1231E} or \uD808\uDF1E. Python: \U0001231E.
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