π is the Unicode character AEGEAN NUMBER FIFTY, code point U+10114 (decimal 65812) 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 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10114 |
| Decimal | 65812 |
| UTF-8 bytes | F0 90 84 94 |
| UTF-16 (big-endian) | D800 DD14 |
| UTF-32 | 00010114 |
| HTML decimal | 𐄔 |
| HTML hex | 𐄔 |
| CSS | \10114 |
| JavaScript | \u{10114} or \uD800\uDD14 |
| JSON | \uD800\uDD14 |
| Python | \U00010114 |
| Python by name | \N{AEGEAN NUMBER FIFTY} |
| Java, C# | \uD800\uDD14 |
| Rust, Swift | \u{10114} |
| Go, C, C++ | \U00010114 |
| URL (percent-encoded) | %F0%90%84%94 |
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 FIFTY |
| Code point | U+10114 (decimal 65812) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 50 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+1010C Aegean Number Six
- π 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+10115 Aegean Number Sixty
- π U+10116 Aegean Number Seventy
- π 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
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+10114?
- F0 90 84 94 (hex), 4 bytes. In a URL it is %F0%90%84%94.
- How do I write U+10114 in JavaScript or Python?
- JavaScript: \u{10114} or \uD800\uDD14. Python: \U00010114.
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