π is the Unicode character CUNEIFORM NUMERIC SIGN TWO THIRDS VARIANT FORM A, code point U+1245E (decimal 74846) 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 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1245E |
| Decimal | 74846 |
| UTF-8 bytes | F0 92 91 9E |
| UTF-16 (big-endian) | D809 DC5E |
| UTF-32 | 0001245E |
| HTML decimal | 𒑞 |
| HTML hex | 𒑞 |
| CSS | \1245E |
| JavaScript | \u{1245E} or \uD809\uDC5E |
| JSON | \uD809\uDC5E |
| Python | \U0001245E |
| Python by name | \N{CUNEIFORM NUMERIC SIGN TWO THIRDS VARIANT FORM A} |
| Java, C# | \uD809\uDC5E |
| Rust, Swift | \u{1245E} |
| Go, C, C++ | \U0001245E |
| URL (percent-encoded) | %F0%92%91%9E |
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 TWO THIRDS VARIANT FORM A |
| Code point | U+1245E (decimal 74846) |
| Block | Cuneiform Numbers and Punctuation (U+12400βU+1247F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2/3 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform Numbers and Punctuation
- π U+12456 Cuneiform Numeric Sign Nigidamin
- π U+12457 Cuneiform Numeric Sign Nigidaesh
- π U+12458 Cuneiform Numeric Sign One Eshe3
- π U+12459 Cuneiform Numeric Sign Two Eshe3
- π U+1245A Cuneiform Numeric Sign One Third Dish
- π U+1245B Cuneiform Numeric Sign Two Thirds Dish
- π U+1245C Cuneiform Numeric Sign Five Sixths Dish
- π U+1245D Cuneiform Numeric Sign One Third Variant Form A
- π U+1245F Cuneiform Numeric Sign One Eighth Ash
- π U+12460 Cuneiform Numeric Sign One Quarter Ash
- π‘ U+12461 Cuneiform Numeric Sign Old Assyrian One Sixth
- π’ U+12462 Cuneiform Numeric Sign Old Assyrian One Quarter
- π£ U+12463 Cuneiform Numeric Sign One Quarter Gur
- π€ U+12464 Cuneiform Numeric Sign One Half Gur
- π₯ U+12465 Cuneiform Numeric Sign Elamite One Third
- π¦ U+12466 Cuneiform Numeric Sign Elamite Two Thirds
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+1245E?
- F0 92 91 9E (hex), 4 bytes. In a URL it is %F0%92%91%9E.
- How do I write U+1245E in JavaScript or Python?
- JavaScript: \u{1245E} or \uD809\uDC5E. Python: \U0001245E.
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