π is the Unicode character CUNEIFORM SIGN DIM2 TIMES UD, code point U+1248C (decimal 74892) 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 92 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1248C |
| Decimal | 74892 |
| UTF-8 bytes | F0 92 92 8C |
| UTF-16 (big-endian) | D809 DC8C |
| UTF-32 | 0001248C |
| HTML decimal | 𒒌 |
| HTML hex | 𒒌 |
| CSS | \1248C |
| JavaScript | \u{1248C} or \uD809\uDC8C |
| JSON | \uD809\uDC8C |
| Python | \U0001248C |
| Python by name | \N{CUNEIFORM SIGN DIM2 TIMES UD} |
| Java, C# | \uD809\uDC8C |
| Rust, Swift | \u{1248C} |
| Go, C, C++ | \U0001248C |
| URL (percent-encoded) | %F0%92%92%8C |
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 DIM2 TIMES UD |
| Code point | U+1248C (decimal 74892) |
| 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+12484 Cuneiform Sign Bahar2 Times Ab2
- π U+12485 Cuneiform Sign Bahar2 Times Ni
- π U+12486 Cuneiform Sign Bahar2 Times Za
- π U+12487 Cuneiform Sign Bu Over Bu Times Na2
- π U+12488 Cuneiform Sign Da Times Tak4
- π U+12489 Cuneiform Sign Dag Times Kur
- π U+1248A Cuneiform Sign Dim Times Igi
- π U+1248B Cuneiform Sign Dim Times U U U
- π U+1248D Cuneiform Sign Dug Times Anshe
- π U+1248E Cuneiform Sign Dug Times Ash
- π U+1248F Cuneiform Sign Dug Times Ash At Left
- π U+12490 Cuneiform Sign Dug Times Din
- π U+12491 Cuneiform Sign Dug Times Dun
- π U+12492 Cuneiform Sign Dug Times Erin2
- π U+12493 Cuneiform Sign Dug Times Ga
- π U+12494 Cuneiform Sign Dug Times Gi
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+1248C?
- F0 92 92 8C (hex), 4 bytes. In a URL it is %F0%92%92%8C.
- How do I write U+1248C in JavaScript or Python?
- JavaScript: \u{1248C} or \uD809\uDC8C. Python: \U0001248C.
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