π is the Unicode character CUNEIFORM SIGN GA2 TIMES BUR, code point U+120C1 (decimal 73921) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒃁, and in UTF-8 it is the 4 bytes F0 92 83 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+120C1 |
| Decimal | 73921 |
| UTF-8 bytes | F0 92 83 81 |
| UTF-16 (big-endian) | D808 DCC1 |
| UTF-32 | 000120C1 |
| HTML decimal | 𒃁 |
| HTML hex | 𒃁 |
| CSS | \120C1 |
| JavaScript | \u{120C1} or \uD808\uDCC1 |
| JSON | \uD808\uDCC1 |
| Python | \U000120C1 |
| Python by name | \N{CUNEIFORM SIGN GA2 TIMES BUR} |
| Java, C# | \uD808\uDCC1 |
| Rust, Swift | \u{120C1} |
| Go, C, C++ | \U000120C1 |
| URL (percent-encoded) | %F0%92%83%81 |
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 GA2 TIMES BUR |
| Code point | U+120C1 (decimal 73921) |
| 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+120B9 Cuneiform Sign Ga2 Times A Plus Ha
- πΊ U+120BA Cuneiform Sign Ga2 Times A Plus Igi
- π» U+120BB Cuneiform Sign Ga2 Times Ab2 Tenu Plus Tab
- πΌ U+120BC Cuneiform Sign Ga2 Times An
- π½ U+120BD Cuneiform Sign Ga2 Times Ash
- πΎ U+120BE Cuneiform Sign Ga2 Times Ash2 Plus Gal
- πΏ U+120BF Cuneiform Sign Ga2 Times Bad
- π U+120C0 Cuneiform Sign Ga2 Times Bar Plus Ra
- π U+120C2 Cuneiform Sign Ga2 Times Bur Plus Ra
- π U+120C3 Cuneiform Sign Ga2 Times Da
- π U+120C4 Cuneiform Sign Ga2 Times Di
- π U+120C5 Cuneiform Sign Ga2 Times Dim Times She
- π U+120C6 Cuneiform Sign Ga2 Times Dub
- π U+120C7 Cuneiform Sign Ga2 Times El
- π U+120C8 Cuneiform Sign Ga2 Times El Plus La
- π U+120C9 Cuneiform Sign Ga2 Times En
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+120C1?
- F0 92 83 81 (hex), 4 bytes. In a URL it is %F0%92%83%81.
- How do I write U+120C1 in JavaScript or Python?
- JavaScript: \u{120C1} or \uD808\uDCC1. Python: \U000120C1.
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