π is the Unicode character CUNEIFORM SIGN URU TIMES LU3, code point U+12540 (decimal 75072) 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 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12540 |
| Decimal | 75072 |
| UTF-8 bytes | F0 92 95 80 |
| UTF-16 (big-endian) | D809 DD40 |
| UTF-32 | 00012540 |
| HTML decimal | 𒕀 |
| HTML hex | 𒕀 |
| CSS | \12540 |
| JavaScript | \u{12540} or \uD809\uDD40 |
| JSON | \uD809\uDD40 |
| Python | \U00012540 |
| Python by name | \N{CUNEIFORM SIGN URU TIMES LU3} |
| Java, C# | \uD809\uDD40 |
| Rust, Swift | \u{12540} |
| Go, C, C++ | \U00012540 |
| URL (percent-encoded) | %F0%92%95%80 |
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 URU TIMES LU3 |
| Code point | U+12540 (decimal 75072) |
| 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+12537 Cuneiform Sign Shu2 Plus E2 Times An
- πΈ 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+12541 Cuneiform Sign Za7
- π 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+12540?
- F0 92 95 80 (hex), 4 bytes. In a URL it is %F0%92%95%80.
- How do I write U+12540 in JavaScript or Python?
- JavaScript: \u{12540} or \uD809\uDD40. Python: \U00012540.
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