π is the Unicode character CUNEIFORM SIGN LU2 TIMES KAD2, code point U+12205 (decimal 74245) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈅, and in UTF-8 it is the 4 bytes F0 92 88 85.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12205 |
| Decimal | 74245 |
| UTF-8 bytes | F0 92 88 85 |
| UTF-16 (big-endian) | D808 DE05 |
| UTF-32 | 00012205 |
| HTML decimal | 𒈅 |
| HTML hex | 𒈅 |
| CSS | \12205 |
| JavaScript | \u{12205} or \uD808\uDE05 |
| JSON | \uD808\uDE05 |
| Python | \U00012205 |
| Python by name | \N{CUNEIFORM SIGN LU2 TIMES KAD2} |
| Java, C# | \uD808\uDE05 |
| Rust, Swift | \u{12205} |
| Go, C, C++ | \U00012205 |
| URL (percent-encoded) | %F0%92%88%85 |
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 KAD2 |
| Code point | U+12205 (decimal 74245) |
| 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 | 5.0 |
Nearby in Cuneiform
- π½ U+121FD Cuneiform Sign Lu2
- πΎ U+121FE Cuneiform Sign Lu2 Times Al
- πΏ U+121FF Cuneiform Sign Lu2 Times Bad
- π U+12200 Cuneiform Sign Lu2 Times Esh2
- π U+12201 Cuneiform Sign Lu2 Times Esh2 Tenu
- π U+12202 Cuneiform Sign Lu2 Times Gan2 Tenu
- π U+12203 Cuneiform Sign Lu2 Times Hi Times Bad
- π U+12204 Cuneiform Sign Lu2 Times Im
- π U+12206 Cuneiform Sign Lu2 Times Kad3
- π U+12207 Cuneiform Sign Lu2 Times Kad3 Plus Ash
- π U+12208 Cuneiform Sign Lu2 Times Ki
- π U+12209 Cuneiform Sign Lu2 Times La Plus Ash
- π U+1220A Cuneiform Sign Lu2 Times Lagab
- π U+1220B Cuneiform Sign Lu2 Times Me Plus En
- π U+1220C Cuneiform Sign Lu2 Times Ne
- π U+1220D Cuneiform Sign Lu2 Times Nu
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+12205?
- F0 92 88 85 (hex), 4 bytes. In a URL it is %F0%92%88%85.
- How do I write U+12205 in JavaScript or Python?
- JavaScript: \u{12205} or \uD808\uDE05. Python: \U00012205.
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