π is the Unicode character CUNEIFORM NUMERIC SIGN FIVE ASH, code point U+12403 (decimal 74755) 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 90 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12403 |
| Decimal | 74755 |
| UTF-8 bytes | F0 92 90 83 |
| UTF-16 (big-endian) | D809 DC03 |
| UTF-32 | 00012403 |
| HTML decimal | 𒐃 |
| HTML hex | 𒐃 |
| CSS | \12403 |
| JavaScript | \u{12403} or \uD809\uDC03 |
| JSON | \uD809\uDC03 |
| Python | \U00012403 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN FIVE ASH} |
| Java, C# | \uD809\uDC03 |
| Rust, Swift | \u{12403} |
| Go, C, C++ | \U00012403 |
| URL (percent-encoded) | %F0%92%90%83 |
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 FIVE ASH |
| Code point | U+12403 (decimal 74755) |
| Block | Cuneiform Numbers and Punctuation (U+12400βU+1247F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform Numbers and Punctuation
- π U+12400 Cuneiform Numeric Sign Two Ash
- π U+12401 Cuneiform Numeric Sign Three Ash
- π U+12402 Cuneiform Numeric Sign Four Ash
- π U+12404 Cuneiform Numeric Sign Six Ash
- π U+12405 Cuneiform Numeric Sign Seven Ash
- π U+12406 Cuneiform Numeric Sign Eight Ash
- π U+12407 Cuneiform Numeric Sign Nine Ash
- π U+12408 Cuneiform Numeric Sign Three Dish
- π U+12409 Cuneiform Numeric Sign Four Dish
- π U+1240A Cuneiform Numeric Sign Five Dish
- π U+1240B Cuneiform Numeric Sign Six Dish
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+12403?
- F0 92 90 83 (hex), 4 bytes. In a URL it is %F0%92%90%83.
- How do I write U+12403 in JavaScript or Python?
- JavaScript: \u{12403} or \uD809\uDC03. Python: \U00012403.
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