π is the Unicode character AEGEAN WORD SEPARATOR DOT, code point U+10101 (decimal 65793) 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 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10101 |
| Decimal | 65793 |
| UTF-8 bytes | F0 90 84 81 |
| UTF-16 (big-endian) | D800 DD01 |
| UTF-32 | 00010101 |
| HTML decimal | 𐄁 |
| HTML hex | 𐄁 |
| CSS | \10101 |
| JavaScript | \u{10101} or \uD800\uDD01 |
| JSON | \uD800\uDD01 |
| Python | \U00010101 |
| Python by name | \N{AEGEAN WORD SEPARATOR DOT} |
| Java, C# | \uD800\uDD01 |
| Rust, Swift | \u{10101} |
| Go, C, C++ | \U00010101 |
| URL (percent-encoded) | %F0%90%84%81 |
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 WORD SEPARATOR DOT |
| Code point | U+10101 (decimal 65793) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | Po: Other punctuation |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+10100 Aegean Word Separator Line
- π 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+1010D Aegean Number Seven
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+10101?
- F0 90 84 81 (hex), 4 bytes. In a URL it is %F0%90%84%81.
- How do I write U+10101 in JavaScript or Python?
- JavaScript: \u{10101} or \uD800\uDD01. Python: \U00010101.
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