π is the Unicode character CUNEIFORM SIGN NINDA2 TIMES GI, code point U+12392 (decimal 74642) in the Cuneiform block, added in Unicode 7.0. In HTML write 𒎒, and in UTF-8 it is the 4 bytes F0 92 8E 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12392 |
| Decimal | 74642 |
| UTF-8 bytes | F0 92 8E 92 |
| UTF-16 (big-endian) | D808 DF92 |
| UTF-32 | 00012392 |
| HTML decimal | 𒎒 |
| HTML hex | 𒎒 |
| CSS | \12392 |
| JavaScript | \u{12392} or \uD808\uDF92 |
| JSON | \uD808\uDF92 |
| Python | \U00012392 |
| Python by name | \N{CUNEIFORM SIGN NINDA2 TIMES GI} |
| Java, C# | \uD808\uDF92 |
| Rust, Swift | \u{12392} |
| Go, C, C++ | \U00012392 |
| URL (percent-encoded) | %F0%92%8E%92 |
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 NINDA2 TIMES GI |
| Code point | U+12392 (decimal 74642) |
| 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+1238A Cuneiform Sign Lu2 Times Esh2 Plus Lal
- π 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+12393 Cuneiform Sign Nu11 Rotated Ninety Degrees
- π U+12394 Cuneiform Sign Pesh2 Asterisk
- π U+12395 Cuneiform Sign Pir2
- π U+12396 Cuneiform Sign Sag Times Igi Gunu
- π U+12397 Cuneiform Sign Ti2
- π U+12398 Cuneiform Sign Um Times Me
- π U+12399 Cuneiform Sign U U
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+12392?
- F0 92 8E 92 (hex), 4 bytes. In a URL it is %F0%92%8E%92.
- How do I write U+12392 in JavaScript or Python?
- JavaScript: \u{12392} or \uD808\uDF92. Python: \U00012392.
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