π is the Unicode character AEGEAN NUMBER SIX, code point U+1010C (decimal 65804) 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 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1010C |
| Decimal | 65804 |
| UTF-8 bytes | F0 90 84 8C |
| UTF-16 (big-endian) | D800 DD0C |
| UTF-32 | 0001010C |
| HTML decimal | 𐄌 |
| HTML hex | 𐄌 |
| CSS | \1010C |
| JavaScript | \u{1010C} or \uD800\uDD0C |
| JSON | \uD800\uDD0C |
| Python | \U0001010C |
| Python by name | \N{AEGEAN NUMBER SIX} |
| Java, C# | \uD800\uDD0C |
| Rust, Swift | \u{1010C} |
| Go, C, C++ | \U0001010C |
| URL (percent-encoded) | %F0%90%84%8C |
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 SIX |
| Code point | U+1010C (decimal 65804) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 6 |
| 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+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+1010D Aegean Number Seven
- π 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
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+1010C?
- F0 90 84 8C (hex), 4 bytes. In a URL it is %F0%90%84%8C.
- How do I write U+1010C in JavaScript or Python?
- JavaScript: \u{1010C} or \uD800\uDD0C. Python: \U0001010C.
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