π is the Unicode character CUNEIFORM NUMERIC SIGN FOUR BAN2 VARIANT FORM, code point U+12453 (decimal 74835) 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 93.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12453 |
| Decimal | 74835 |
| UTF-8 bytes | F0 92 91 93 |
| UTF-16 (big-endian) | D809 DC53 |
| UTF-32 | 00012453 |
| HTML decimal | 𒑓 |
| HTML hex | 𒑓 |
| CSS | \12453 |
| JavaScript | \u{12453} or \uD809\uDC53 |
| JSON | \uD809\uDC53 |
| Python | \U00012453 |
| Python by name | \N{CUNEIFORM NUMERIC SIGN FOUR BAN2 VARIANT FORM} |
| Java, C# | \uD809\uDC53 |
| Rust, Swift | \u{12453} |
| Go, C, C++ | \U00012453 |
| URL (percent-encoded) | %F0%92%91%93 |
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 FOUR BAN2 VARIANT FORM |
| Code point | U+12453 (decimal 74835) |
| Block | Cuneiform Numbers and Punctuation (U+12400βU+1247F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 4 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.0 |
Nearby in Cuneiform Numbers and Punctuation
- π 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+1244E Cuneiform Numeric Sign Six 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+12454 Cuneiform Numeric Sign Five Ban2
- π U+12455 Cuneiform Numeric Sign Five Ban2 Variant Form
- π 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
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+12453?
- F0 92 91 93 (hex), 4 bytes. In a URL it is %F0%92%91%93.
- How do I write U+12453 in JavaScript or Python?
- JavaScript: \u{12453} or \uD809\uDC53. Python: \U00012453.
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