π is the Unicode character CUNEIFORM SIGN KA TIMES PA, code point U+12384 (decimal 74628) in the Cuneiform block, added in Unicode 7.0. In HTML write 𒎄, and in UTF-8 it is the 4 bytes F0 92 8E 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12384 |
| Decimal | 74628 |
| UTF-8 bytes | F0 92 8E 84 |
| UTF-16 (big-endian) | D808 DF84 |
| UTF-32 | 00012384 |
| HTML decimal | 𒎄 |
| HTML hex | 𒎄 |
| CSS | \12384 |
| JavaScript | \u{12384} or \uD808\uDF84 |
| JSON | \uD808\uDF84 |
| Python | \U00012384 |
| Python by name | \N{CUNEIFORM SIGN KA TIMES PA} |
| Java, C# | \uD808\uDF84 |
| Rust, Swift | \u{12384} |
| Go, C, C++ | \U00012384 |
| URL (percent-encoded) | %F0%92%8E%84 |
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 SIGN KA TIMES PA |
| Code point | U+12384 (decimal 74628) |
| Block | Cuneiform (U+12000βU+123FF) |
| General category | Lo: Other letter |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Cuneiform
- πΌ U+1237C Cuneiform Sign Gig
- π½ U+1237D Cuneiform Sign Hush
- πΎ U+1237E Cuneiform Sign Ka Times Anshe
- πΏ U+1237F Cuneiform Sign Ka Times Ash3
- π U+12380 Cuneiform Sign Ka Times Gish
- π U+12381 Cuneiform Sign Ka Times Gud
- π U+12382 Cuneiform Sign Ka Times Hi Times Ash2
- π U+12383 Cuneiform Sign Ka Times Lum
- π U+12385 Cuneiform Sign Ka Times Shul
- π U+12386 Cuneiform Sign Ka Times Tu
- π U+12387 Cuneiform Sign Ka Times Ur2
- π U+12388 Cuneiform Sign Lagab Times Gi
- π U+12389 Cuneiform Sign Lu2 Sheshig Times Bad
- π U+1238A Cuneiform Sign Lu2 Times Esh2 Plus Lal
- π U+1238B Cuneiform Sign Lu2 Times Shu
- π U+1238C Cuneiform Sign Mesh
All 922 characters: Cuneiform.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒎄 (decimal) or 𒎄 (hex).
- What is the UTF-8 encoding of U+12384?
- F0 92 8E 84 (hex), 4 bytes. In a URL it is %F0%92%8E%84.
- How do I write U+12384 in JavaScript or Python?
- JavaScript: \u{12384} or \uD808\uDF84. Python: \U00012384.
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