π is the Unicode character AEGEAN NUMBER SEVEN, code point U+1010D (decimal 65805) 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 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1010D |
| Decimal | 65805 |
| UTF-8 bytes | F0 90 84 8D |
| UTF-16 (big-endian) | D800 DD0D |
| UTF-32 | 0001010D |
| HTML decimal | 𐄍 |
| HTML hex | 𐄍 |
| CSS | \1010D |
| JavaScript | \u{1010D} or \uD800\uDD0D |
| JSON | \uD800\uDD0D |
| Python | \U0001010D |
| Python by name | \N{AEGEAN NUMBER SEVEN} |
| Java, C# | \uD800\uDD0D |
| Rust, Swift | \u{1010D} |
| Go, C, C++ | \U0001010D |
| URL (percent-encoded) | %F0%90%84%8D |
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 SEVEN |
| Code point | U+1010D (decimal 65805) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 7 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+10101 Aegean Word Separator Dot
- π U+10102 Aegean Check Mark
- π U+10107 Aegean Number One
- π U+10108 Aegean Number Two
- π U+10109 Aegean Number Three
- π U+1010A Aegean Number Four
- π U+1010B Aegean Number Five
- π U+1010C Aegean Number Six
- π 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
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+1010D?
- F0 90 84 8D (hex), 4 bytes. In a URL it is %F0%90%84%8D.
- How do I write U+1010D in JavaScript or Python?
- JavaScript: \u{1010D} or \uD800\uDD0D. Python: \U0001010D.
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