π is the Unicode character CUNEIFORM NUMERIC SIGN THREE GESH2, code point U+12417 (decimal 74775) 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 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12417 |
| Decimal | 74775 |
| UTF-8 bytes | F0 92 90 97 |
| UTF-16 (big-endian) | D809 DC17 |
| UTF-32 | 00012417 |
| HTML decimal | 𒐗 |
| HTML hex | 𒐗 |
| CSS | \12417 |
| JavaScript | \u{12417} or \uD809\uDC17 |
| JSON | \uD809\uDC17 |
| Python | \U00012417 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN THREE GESH2} |
| Java, C# | \uD809\uDC17 |
| Rust, Swift | \u{12417} |
| Go, C, C++ | \U00012417 |
| URL (percent-encoded) | %F0%92%90%97 |
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 THREE GESH2 |
| Code point | U+12417 (decimal 74775) |
| Block | Cuneiform Numbers and Punctuation (U+12400βU+1247F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 3 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform Numbers and Punctuation
- π U+1240F Cuneiform Numeric Sign Four U
- π U+12410 Cuneiform Numeric Sign Five U
- π U+12411 Cuneiform Numeric Sign Six U
- π U+12412 Cuneiform Numeric Sign Seven U
- π U+12413 Cuneiform Numeric Sign Eight U
- π U+12414 Cuneiform Numeric Sign Nine U
- π U+12415 Cuneiform Numeric Sign One Gesh2
- π U+12416 Cuneiform Numeric Sign Two Gesh2
- π U+12418 Cuneiform Numeric Sign Four Gesh2
- π U+12419 Cuneiform Numeric Sign Five Gesh2
- π U+1241A Cuneiform Numeric Sign Six Gesh2
- π U+1241B Cuneiform Numeric Sign Seven Gesh2
- π U+1241C Cuneiform Numeric Sign Eight Gesh2
- π U+1241D Cuneiform Numeric Sign Nine Gesh2
- π U+1241E Cuneiform Numeric Sign One Geshu
- π U+1241F Cuneiform Numeric Sign Two Geshu
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+12417?
- F0 92 90 97 (hex), 4 bytes. In a URL it is %F0%92%90%97.
- How do I write U+12417 in JavaScript or Python?
- JavaScript: \u{12417} or \uD809\uDC17. Python: \U00012417.
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