π is the Unicode character CUNEIFORM SIGN UD TIMES BAD, code point U+12315 (decimal 74517) in the Cuneiform block, added in Unicode 5.0. In HTML write 𒌕, and in UTF-8 it is the 4 bytes F0 92 8C 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+12315 |
| Decimal | 74517 |
| UTF-8 bytes | F0 92 8C 95 |
| UTF-16 (big-endian) | D808 DF15 |
| UTF-32 | 00012315 |
| HTML decimal | 𒌕 |
| HTML hex | 𒌕 |
| CSS | \12315 |
| JavaScript | \u{12315} or \uD808\uDF15 |
| JSON | \uD808\uDF15 |
| Python | \U00012315 |
| Python by name | \N{CUNEIFORM SIGN UD TIMES BAD} |
| Java, C# | \uD808\uDF15 |
| Rust, Swift | \u{12315} |
| Go, C, C++ | \U00012315 |
| URL (percent-encoded) | %F0%92%8C%95 |
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 UD TIMES BAD |
| Code point | U+12315 (decimal 74517) |
| 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+1230D Cuneiform Sign U U U
- π U+1230E Cuneiform Sign U Over U Pa Over Pa Gar Over Gar
- π U+1230F Cuneiform Sign U Over U Sur Over Sur
- π U+12310 Cuneiform Sign U Over U U Reversed Over U Reversed
- π U+12311 Cuneiform Sign U2
- π U+12312 Cuneiform Sign Ub
- π U+12313 Cuneiform Sign Ud
- π U+12314 Cuneiform Sign Ud Kushu2
- π U+12316 Cuneiform Sign Ud Times Mi
- π U+12317 Cuneiform Sign Ud Times U Plus U Plus U
- π U+12318 Cuneiform Sign Ud Times U Plus U Plus U Gunu
- π U+12319 Cuneiform Sign Ud Gunu
- π U+1231A Cuneiform Sign Ud Sheshig
- π U+1231B Cuneiform Sign Ud Sheshig Times Bad
- π U+1231C Cuneiform Sign Udug
- π U+1231D Cuneiform Sign Um
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+12315?
- F0 92 8C 95 (hex), 4 bytes. In a URL it is %F0%92%8C%95.
- How do I write U+12315 in JavaScript or Python?
- JavaScript: \u{12315} or \uD808\uDF15. Python: \U00012315.
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