π is the Unicode character CUNEIFORM SIGN LU2 TIMES ESH2 PLUS LAL, code point U+1238A (decimal 74634) in the Cuneiform block, added in Unicode 7.0. In HTML write 𒎊, and in UTF-8 it is the 4 bytes F0 92 8E 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1238A |
| Decimal | 74634 |
| UTF-8 bytes | F0 92 8E 8A |
| UTF-16 (big-endian) | D808 DF8A |
| UTF-32 | 0001238A |
| HTML decimal | 𒎊 |
| HTML hex | 𒎊 |
| CSS | \1238A |
| JavaScript | \u{1238A} or \uD808\uDF8A |
| JSON | \uD808\uDF8A |
| Python | \U0001238A |
| Python by name | \N{CUNEIFORM SIGN LU2 TIMES ESH2 PLUS LAL} |
| Java, C# | \uD808\uDF8A |
| Rust, Swift | \u{1238A} |
| Go, C, C++ | \U0001238A |
| URL (percent-encoded) | %F0%92%8E%8A |
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 LU2 TIMES ESH2 PLUS LAL |
| Code point | U+1238A (decimal 74634) |
| 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+12382 Cuneiform Sign Ka Times Hi Times Ash2
- π U+12383 Cuneiform Sign Ka Times Lum
- π U+12384 Cuneiform Sign Ka Times Pa
- π 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+1238B Cuneiform Sign Lu2 Times Shu
- π U+1238C Cuneiform Sign Mesh
- π U+1238D Cuneiform Sign Mush3 Times Za
- π U+1238E Cuneiform Sign Na4
- π U+1238F Cuneiform Sign Nin
- π U+12390 Cuneiform Sign Nin9
- π U+12391 Cuneiform Sign Ninda2 Times Bal
- π U+12392 Cuneiform Sign Ninda2 Times Gi
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+1238A?
- F0 92 8E 8A (hex), 4 bytes. In a URL it is %F0%92%8E%8A.
- How do I write U+1238A in JavaScript or Python?
- JavaScript: \u{1238A} or \uD808\uDF8A. Python: \U0001238A.
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