π is the Unicode character CUNEIFORM SIGN DUG TIMES HI, code point U+12498 (decimal 74904) 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 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12498 |
| Decimal | 74904 |
| UTF-8 bytes | F0 92 92 98 |
| UTF-16 (big-endian) | D809 DC98 |
| UTF-32 | 00012498 |
| HTML decimal | 𒒘 |
| HTML hex | 𒒘 |
| CSS | \12498 |
| JavaScript | \u{12498} or \uD809\uDC98 |
| JSON | \uD809\uDC98 |
| Python | \U00012498 |
| Python by name | \N{CUNEIFORM SIGN DUG TIMES HI} |
| Java, C# | \uD809\uDC98 |
| Rust, Swift | \u{12498} |
| Go, C, C++ | \U00012498 |
| URL (percent-encoded) | %F0%92%92%98 |
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 DUG TIMES HI |
| Code point | U+12498 (decimal 74904) |
| 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+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
- π U+12495 Cuneiform Sign Dug Times Gir2 Gunu
- π U+12496 Cuneiform Sign Dug Times Gish
- π U+12497 Cuneiform Sign Dug Times Ha
- π U+12499 Cuneiform Sign Dug Times Igi Gunu
- π U+1249A Cuneiform Sign Dug Times Kaskal
- π U+1249B Cuneiform Sign Dug Times Kur
- π U+1249C Cuneiform Sign Dug Times Kushu2
- π U+1249D Cuneiform Sign Dug Times Kushu2 Plus Kaskal
- π U+1249F Cuneiform Sign Dug Times Lam
- π U+124A0 Cuneiform Sign Dug Times Lam Times Kur
- π‘ U+124A1 Cuneiform Sign Dug Times Luh Plus 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+12498?
- F0 92 92 98 (hex), 4 bytes. In a URL it is %F0%92%92%98.
- How do I write U+12498 in JavaScript or Python?
- JavaScript: \u{12498} or \uD809\uDC98. Python: \U00012498.
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