π is the Unicode character CUNEIFORM NUMERIC SIGN ONE N19, code point U+1260B (decimal 75275) in the Archaic Cuneiform Numerals block, added in Unicode 18.0. In HTML write 𒘋, and in UTF-8 it is the 4 bytes F0 92 98 8B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1260B |
| Decimal | 75275 |
| UTF-8 bytes | F0 92 98 8B |
| UTF-16 (big-endian) | D809 DE0B |
| UTF-32 | 0001260B |
| HTML decimal | 𒘋 |
| HTML hex | 𒘋 |
| CSS | \1260B |
| JavaScript | \u{1260B} or \uD809\uDE0B |
| JSON | \uD809\uDE0B |
| Python | \U0001260B |
| Python by name | \N{CUNEIFORM NUMERIC SIGN ONE N19} |
| Java, C# | \uD809\uDE0B |
| Rust, Swift | \u{1260B} |
| Go, C, C++ | \U0001260B |
| URL (percent-encoded) | %F0%92%98%8B |
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 NUMERIC SIGN ONE N19 |
| Code point | U+1260B (decimal 75275) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Proto Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+12603 Cuneiform Numeric Sign Two N41
- π U+12604 Cuneiform Numeric Sign Three N41
- π U+12605 Cuneiform Numeric Sign Four N41
- π U+12606 Cuneiform Numeric Sign One N04
- π U+12607 Cuneiform Numeric Sign Two N04
- π U+12608 Cuneiform Numeric Sign Three N04
- π U+12609 Cuneiform Numeric Sign Four N04
- π U+1260A Cuneiform Numeric Sign Five N04
- π U+1260C Cuneiform Numeric Sign Two N19
- π U+1260D Cuneiform Numeric Sign Three N19
- π U+1260E Cuneiform Numeric Sign Four N19
- π U+1260F Cuneiform Numeric Sign Five N19
- π U+12610 Cuneiform Numeric Sign Six N19
- π U+12611 Cuneiform Numeric Sign Seven N19
- π U+12612 Cuneiform Numeric Sign Eight N19
- π U+12613 Cuneiform Numeric Sign Nine N19
All 311 characters: Archaic Cuneiform Numerals.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𒘋 (decimal) or 𒘋 (hex).
- What is the UTF-8 encoding of U+1260B?
- F0 92 98 8B (hex), 4 bytes. In a URL it is %F0%92%98%8B.
- How do I write U+1260B in JavaScript or Python?
- JavaScript: \u{1260B} or \uD809\uDE0B. Python: \U0001260B.
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