π is the Unicode character CUNEIFORM SIGN ZA7, code point U+12541 (decimal 75073) in the Early Dynastic Cuneiform block, added in Unicode 8.0. In HTML write 𒕁, and in UTF-8 it is the 4 bytes F0 92 95 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12541 |
| Decimal | 75073 |
| UTF-8 bytes | F0 92 95 81 |
| UTF-16 (big-endian) | D809 DD41 |
| UTF-32 | 00012541 |
| HTML decimal | 𒕁 |
| HTML hex | 𒕁 |
| CSS | \12541 |
| JavaScript | \u{12541} or \uD809\uDD41 |
| JSON | \uD809\uDD41 |
| Python | \U00012541 |
| Python by name | \N{CUNEIFORM SIGN ZA7} |
| Java, C# | \uD809\uDD41 |
| Rust, Swift | \u{12541} |
| Go, C, C++ | \U00012541 |
| URL (percent-encoded) | %F0%92%95%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 ZA7 |
| Code point | U+12541 (decimal 75073) |
| Block | Early Dynastic Cuneiform (U+12480βU+1254F) |
| General category | Lo: Other letter |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 8.0 |
Nearby in Early Dynastic Cuneiform
- πΈ U+12538 Cuneiform Sign Si Times Tak4
- πΉ U+12539 Cuneiform Sign Tak4 Plus Sag
- πΊ U+1253A Cuneiform Sign Tum Times Gan2 Tenu
- π» U+1253B Cuneiform Sign Tum Times Three Dish
- πΌ U+1253C Cuneiform Sign Ur2 Inverted
- π½ U+1253D Cuneiform Sign Ur2 Times Ud
- πΎ U+1253E Cuneiform Sign Uru Times Dara3
- π U+12540 Cuneiform Sign Uru Times Lu3
- π U+12542 Cuneiform Sign Zu Over Zu Plus Sar
- π U+12543 Cuneiform Sign Zu5 Times Three Dish Tenu
All 150 characters: Early Dynastic Cuneiform.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒕁 (decimal) or 𒕁 (hex).
- What is the UTF-8 encoding of U+12541?
- F0 92 95 81 (hex), 4 bytes. In a URL it is %F0%92%95%81.
- How do I write U+12541 in JavaScript or Python?
- JavaScript: \u{12541} or \uD809\uDD41. Python: \U00012541.
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