π is the Unicode character CUNEIFORM NUMERIC SIGN SIX ASH TENU, code point U+1244E (decimal 74830) in the Cuneiform Numbers and Punctuation block, added in Unicode 5.0. In HTML write 𒑎, and in UTF-8 it is the 4 bytes F0 92 91 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1244E |
| Decimal | 74830 |
| UTF-8 bytes | F0 92 91 8E |
| UTF-16 (big-endian) | D809 DC4E |
| UTF-32 | 0001244E |
| HTML decimal | 𒑎 |
| HTML hex | 𒑎 |
| CSS | \1244E |
| JavaScript | \u{1244E} or \uD809\uDC4E |
| JSON | \uD809\uDC4E |
| Python | \U0001244E |
| Python by name | \N{CUNEIFORM NUMERIC SIGN SIX ASH TENU} |
| Java, C# | \uD809\uDC4E |
| Rust, Swift | \u{1244E} |
| Go, C, C++ | \U0001244E |
| URL (percent-encoded) | %F0%92%91%8E |
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 NUMERIC SIGN SIX ASH TENU |
| Code point | U+1244E (decimal 74830) |
| Block | Cuneiform Numbers and Punctuation (U+12400βU+1247F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 6 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform Numbers and Punctuation
- π U+12446 Cuneiform Numeric Sign Nine Variant Form Ilimmu
- π U+12447 Cuneiform Numeric Sign Nine Variant Form Ilimmu3
- π U+12448 Cuneiform Numeric Sign Nine Variant Form Ilimmu4
- π U+12449 Cuneiform Numeric Sign Nine Variant Form Ilimmu A
- π U+1244A Cuneiform Numeric Sign Two Ash Tenu
- π U+1244B Cuneiform Numeric Sign Three Ash Tenu
- π U+1244C Cuneiform Numeric Sign Four Ash Tenu
- π U+1244D Cuneiform Numeric Sign Five Ash Tenu
- π U+1244F Cuneiform Numeric Sign One Ban2
- π U+12450 Cuneiform Numeric Sign Two Ban2
- π U+12451 Cuneiform Numeric Sign Three Ban2
- π U+12452 Cuneiform Numeric Sign Four Ban2
- π U+12453 Cuneiform Numeric Sign Four Ban2 Variant Form
- π U+12454 Cuneiform Numeric Sign Five Ban2
- π U+12455 Cuneiform Numeric Sign Five Ban2 Variant Form
- π U+12456 Cuneiform Numeric Sign Nigidamin
All 128 characters: Cuneiform Numbers and Punctuation.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒑎 (decimal) or 𒑎 (hex).
- What is the UTF-8 encoding of U+1244E?
- F0 92 91 8E (hex), 4 bytes. In a URL it is %F0%92%91%8E.
- How do I write U+1244E in JavaScript or Python?
- JavaScript: \u{1244E} or \uD809\uDC4E. Python: \U0001244E.
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