π is the Unicode character CUNEIFORM SIGN LU2 TIMES HAL, code point U+1251B (decimal 75035) 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 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1251B |
| Decimal | 75035 |
| UTF-8 bytes | F0 92 94 9B |
| UTF-16 (big-endian) | D809 DD1B |
| UTF-32 | 0001251B |
| HTML decimal | 𒔛 |
| HTML hex | 𒔛 |
| CSS | \1251B |
| JavaScript | \u{1251B} or \uD809\uDD1B |
| JSON | \uD809\uDD1B |
| Python | \U0001251B |
| Python by name | \N{CUNEIFORM SIGN LU2 TIMES HAL} |
| Java, C# | \uD809\uDD1B |
| Rust, Swift | \u{1251B} |
| Go, C, C++ | \U0001251B |
| URL (percent-encoded) | %F0%92%94%9B |
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 LU2 TIMES HAL |
| Code point | U+1251B (decimal 75035) |
| 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+12511 Cuneiform Sign Lak-648 Times Igi Gunu
- π U+12512 Cuneiform Sign Lak-648 Times Ni
- π U+12513 Cuneiform Sign Lak-648 Times Pap Plus Pap Plus Lu3
- π U+12514 Cuneiform Sign Lak-648 Times Shesh Plus Ki
- π 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+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+1251F Cuneiform Sign Mi Plus Za7
- π 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
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+1251B?
- F0 92 94 9B (hex), 4 bytes. In a URL it is %F0%92%94%9B.
- How do I write U+1251B in JavaScript or Python?
- JavaScript: \u{1251B} or \uD809\uDD1B. Python: \U0001251B.
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