π is the Unicode character AEGEAN CHECK MARK, code point U+10102 (decimal 65794) 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 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10102 |
| Decimal | 65794 |
| UTF-8 bytes | F0 90 84 82 |
| UTF-16 (big-endian) | D800 DD02 |
| UTF-32 | 00010102 |
| HTML decimal | 𐄂 |
| HTML hex | 𐄂 |
| CSS | \10102 |
| JavaScript | \u{10102} or \uD800\uDD02 |
| JSON | \uD800\uDD02 |
| Python | \U00010102 |
| Python by name | \N{AEGEAN CHECK MARK} |
| Java, C# | \uD800\uDD02 |
| Rust, Swift | \u{10102} |
| Go, C, C++ | \U00010102 |
| URL (percent-encoded) | %F0%90%84%82 |
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 CHECK MARK |
| Code point | U+10102 (decimal 65794) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | Po: Other punctuation |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+10100 Aegean Word Separator Line
- π U+10101 Aegean Word Separator Dot
- π 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
- π U+1010E Aegean Number Eight
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+10102?
- F0 90 84 82 (hex), 4 bytes. In a URL it is %F0%90%84%82.
- How do I write U+10102 in JavaScript or Python?
- JavaScript: \u{10102} or \uD800\uDD02. Python: \U00010102.
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