π is the Unicode character CUNEIFORM SIGN LU2 TIMES ESH2, code point U+12200 (decimal 74240) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒈀, and in UTF-8 it is the 4 bytes F0 92 88 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12200 |
| Decimal | 74240 |
| UTF-8 bytes | F0 92 88 80 |
| UTF-16 (big-endian) | D808 DE00 |
| UTF-32 | 00012200 |
| HTML decimal | 𒈀 |
| HTML hex | 𒈀 |
| CSS | \12200 |
| JavaScript | \u{12200} or \uD808\uDE00 |
| JSON | \uD808\uDE00 |
| Python | \U00012200 |
| Python by name | \N{CUNEIFORM SIGN LU2 TIMES ESH2} |
| Java, C# | \uD808\uDE00 |
| Rust, Swift | \u{12200} |
| Go, C, C++ | \U00012200 |
| URL (percent-encoded) | %F0%92%88%80 |
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 |
| Code point | U+12200 (decimal 74240) |
| 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+121F8 Cuneiform Sign Lil
- πΉ U+121F9 Cuneiform Sign Limmu2
- πΊ U+121FA Cuneiform Sign Lish
- π» U+121FB Cuneiform Sign Lu
- πΌ U+121FC Cuneiform Sign Lu Times Bad
- π½ U+121FD Cuneiform Sign Lu2
- πΎ U+121FE Cuneiform Sign Lu2 Times Al
- πΏ U+121FF Cuneiform Sign Lu2 Times Bad
- π 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+12205 Cuneiform Sign Lu2 Times Kad2
- π U+12206 Cuneiform Sign Lu2 Times Kad3
- π U+12207 Cuneiform Sign Lu2 Times Kad3 Plus Ash
- π U+12208 Cuneiform Sign Lu2 Times Ki
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+12200?
- F0 92 88 80 (hex), 4 bytes. In a URL it is %F0%92%88%80.
- How do I write U+12200 in JavaScript or Python?
- JavaScript: \u{12200} or \uD808\uDE00. Python: \U00012200.
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