π is the Unicode character CUNEIFORM NUMERIC SIGN TWO N07B, code point U+1264A (decimal 75338) 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 99 8A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1264A |
| Decimal | 75338 |
| UTF-8 bytes | F0 92 99 8A |
| UTF-16 (big-endian) | D809 DE4A |
| UTF-32 | 0001264A |
| HTML decimal | 𒙊 |
| HTML hex | 𒙊 |
| CSS | \1264A |
| JavaScript | \u{1264A} or \uD809\uDE4A |
| JSON | \uD809\uDE4A |
| Python | \U0001264A |
| Python by name | \N{CUNEIFORM NUMERIC SIGN TWO N07B} |
| Java, C# | \uD809\uDE4A |
| Rust, Swift | \u{1264A} |
| Go, C, C++ | \U0001264A |
| URL (percent-encoded) | %F0%92%99%8A |
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 TWO N07B |
| Code point | U+1264A (decimal 75338) |
| Block | Archaic Cuneiform Numerals (U+12550βU+1268F) |
| General category | Nl: Letter number |
| Script | Proto Cuneiform |
| Bidirectional class | L: Left-to-right |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 18.0 |
Nearby in Archaic Cuneiform Numerals
- π U+12642 Cuneiform Numeric Sign Two N37
- π U+12643 Cuneiform Numeric Sign One N09
- π U+12644 Cuneiform Numeric Sign One N11
- π U+12645 Cuneiform Numeric Sign One N12
- π U+12646 Cuneiform Numeric Sign One N07a
- π U+12647 Cuneiform Numeric Sign Two N07a
- π U+12648 Cuneiform Numeric Sign Three N07a
- π U+12649 Cuneiform Numeric Sign One N07b
- π U+1264B Cuneiform Numeric Sign Three N07b
- π U+1264C Cuneiform Numeric Sign One N01 Flat
- π U+1264D Cuneiform Numeric Sign Two N01 Flat
- π U+1264E Cuneiform Numeric Sign Three N01 Flat
- π U+1264F Cuneiform Numeric Sign Four N01 Flat
- π U+12650 Cuneiform Numeric Sign Five N01 Flat
- π U+12651 Cuneiform Numeric Sign Six N01 Flat
- π U+12652 Cuneiform Numeric Sign Seven N01 Flat
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+1264A?
- F0 92 99 8A (hex), 4 bytes. In a URL it is %F0%92%99%8A.
- How do I write U+1264A in JavaScript or Python?
- JavaScript: \u{1264A} or \uD809\uDE4A. Python: \U0001264A.
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