π is the Unicode character AEGEAN NUMBER SEVENTY, code point U+10116 (decimal 65814) in the Aegean Numbers block, added in Unicode 4.0. In HTML write 𐄖, and in UTF-8 it is the 4 bytes F0 90 84 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10116 |
| Decimal | 65814 |
| UTF-8 bytes | F0 90 84 96 |
| UTF-16 (big-endian) | D800 DD16 |
| UTF-32 | 00010116 |
| HTML decimal | 𐄖 |
| HTML hex | 𐄖 |
| CSS | \10116 |
| JavaScript | \u{10116} or \uD800\uDD16 |
| JSON | \uD800\uDD16 |
| Python | \U00010116 |
| Python by name | \N{AEGEAN NUMBER SEVENTY} |
| Java, C# | \uD800\uDD16 |
| Rust, Swift | \u{10116} |
| Go, C, C++ | \U00010116 |
| URL (percent-encoded) | %F0%90%84%96 |
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 | AEGEAN NUMBER SEVENTY |
| Code point | U+10116 (decimal 65814) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 70 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+1010E Aegean Number Eight
- π U+1010F Aegean Number Nine
- π U+10110 Aegean Number Ten
- π U+10111 Aegean Number Twenty
- π U+10112 Aegean Number Thirty
- π U+10113 Aegean Number Forty
- π U+10114 Aegean Number Fifty
- π U+10115 Aegean Number Sixty
- π U+10117 Aegean Number Eighty
- π U+10118 Aegean Number Ninety
- π U+10119 Aegean Number One Hundred
- π U+1011A Aegean Number Two Hundred
- π U+1011B Aegean Number Three Hundred
- π U+1011C Aegean Number Four Hundred
- π U+1011D Aegean Number Five Hundred
- π U+1011E Aegean Number Six Hundred
All 57 characters: Aegean Numbers.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐄖 (decimal) or 𐄖 (hex).
- What is the UTF-8 encoding of U+10116?
- F0 90 84 96 (hex), 4 bytes. In a URL it is %F0%90%84%96.
- How do I write U+10116 in JavaScript or Python?
- JavaScript: \u{10116} or \uD800\uDD16. Python: \U00010116.
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