π is the Unicode character CUNEIFORM SIGN MI PLUS ZA7, code point U+1251F (decimal 75039) 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 94 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1251F |
| Decimal | 75039 |
| UTF-8 bytes | F0 92 94 9F |
| UTF-16 (big-endian) | D809 DD1F |
| UTF-32 | 0001251F |
| HTML decimal | 𒔟 |
| HTML hex | 𒔟 |
| CSS | \1251F |
| JavaScript | \u{1251F} or \uD809\uDD1F |
| JSON | \uD809\uDD1F |
| Python | \U0001251F |
| Python by name | \N{CUNEIFORM SIGN MI PLUS ZA7} |
| Java, C# | \uD809\uDD1F |
| Rust, Swift | \u{1251F} |
| Go, C, C++ | \U0001251F |
| URL (percent-encoded) | %F0%92%94%9F |
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 MI PLUS ZA7 |
| Code point | U+1251F (decimal 75039) |
| 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+12515 Cuneiform Sign Lak-648 Times Ud
- π U+12516 Cuneiform Sign Lak-648 Times Uruda
- π U+12519 Cuneiform Sign Lu2 Gunu Times Ash
- π U+1251A Cuneiform Sign Lu2 Times Dish
- π U+1251B Cuneiform Sign Lu2 Times Hal
- π U+1251C Cuneiform Sign Lu2 Times Pap
- π U+1251D Cuneiform Sign Lu2 Times Pap Plus Pap Plus Lu3
- π U+1251E Cuneiform Sign Lu2 Times Tak4
- π U+12520 Cuneiform Sign Mush Over Mush Times Ga
- π‘ U+12521 Cuneiform Sign Mush Over Mush Times Kak
- π’ U+12522 Cuneiform Sign Ninda2 Times Dim Gunu
- π£ U+12523 Cuneiform Sign Ninda2 Times Gish
- π€ U+12524 Cuneiform Sign Ninda2 Times Gul
- π₯ U+12525 Cuneiform Sign Ninda2 Times Hi
- π¦ U+12526 Cuneiform Sign Ninda2 Times Kesh2
- π¨ U+12528 Cuneiform Sign Ninda2 Times Mash
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+1251F?
- F0 92 94 9F (hex), 4 bytes. In a URL it is %F0%92%94%9F.
- How do I write U+1251F in JavaScript or Python?
- JavaScript: \u{1251F} or \uD809\uDD1F. Python: \U0001251F.
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