π is the Unicode character CUNEIFORM NUMERIC SIGN FIVE N08, code point U+1255D (decimal 75101) 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 95 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1255D |
| Decimal | 75101 |
| UTF-8 bytes | F0 92 95 9D |
| UTF-16 (big-endian) | D809 DD5D |
| UTF-32 | 0001255D |
| HTML decimal | 𒕝 |
| HTML hex | 𒕝 |
| CSS | \1255D |
| JavaScript | \u{1255D} or \uD809\uDD5D |
| JSON | \uD809\uDD5D |
| Python | \U0001255D |
| Python by name | \N{CUNEIFORM NUMERIC SIGN FIVE N08} |
| Java, C# | \uD809\uDD5D |
| Rust, Swift | \u{1255D} |
| Go, C, C++ | \U0001255D |
| URL (percent-encoded) | %F0%92%95%9D |
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 FIVE N08 |
| Code point | U+1255D (decimal 75101) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+12555 Cuneiform Numeric Sign Six N01
- π U+12556 Cuneiform Numeric Sign Seven N01
- π U+12557 Cuneiform Numeric Sign Eight N01
- π U+12558 Cuneiform Numeric Sign Nine N01
- π U+12559 Cuneiform Numeric Sign One N08
- π U+1255A Cuneiform Numeric Sign Two N08
- π U+1255B Cuneiform Numeric Sign Three N08
- π U+1255C Cuneiform Numeric Sign Four N08
- π U+1255E Cuneiform Numeric Sign Six N08
- π U+1255F Cuneiform Numeric Sign Seven N08
- π U+12560 Cuneiform Numeric Sign Eight N08
- π‘ U+12561 Cuneiform Numeric Sign Nine N08
- π’ U+12562 Cuneiform Numeric Sign One N14
- π£ U+12563 Cuneiform Numeric Sign Two N14
- π€ U+12564 Cuneiform Numeric Sign Three N14
- π₯ U+12565 Cuneiform Numeric Sign Four N14
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+1255D?
- F0 92 95 9D (hex), 4 bytes. In a URL it is %F0%92%95%9D.
- How do I write U+1255D in JavaScript or Python?
- JavaScript: \u{1255D} or \uD809\uDD5D. Python: \U0001255D.
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