π is the Unicode character AEGEAN NUMBER FIVE HUNDRED, code point U+1011D (decimal 65821) 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 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1011D |
| Decimal | 65821 |
| UTF-8 bytes | F0 90 84 9D |
| UTF-16 (big-endian) | D800 DD1D |
| UTF-32 | 0001011D |
| HTML decimal | 𐄝 |
| HTML hex | 𐄝 |
| CSS | \1011D |
| JavaScript | \u{1011D} or \uD800\uDD1D |
| JSON | \uD800\uDD1D |
| Python | \U0001011D |
| Python by name | \N{AEGEAN NUMBER FIVE HUNDRED} |
| Java, C# | \uD800\uDD1D |
| Rust, Swift | \u{1011D} |
| Go, C, C++ | \U0001011D |
| URL (percent-encoded) | %F0%90%84%9D |
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 FIVE HUNDRED |
| Code point | U+1011D (decimal 65821) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 500 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π 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
- π U+1011E Aegean Number Six Hundred
- π U+1011F Aegean Number Seven Hundred
- π U+10120 Aegean Number Eight Hundred
- π‘ U+10121 Aegean Number Nine Hundred
- π’ U+10122 Aegean Number One Thousand
- π£ U+10123 Aegean Number Two Thousand
- π€ U+10124 Aegean Number Three Thousand
- π₯ U+10125 Aegean Number Four Thousand
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+1011D?
- F0 90 84 9D (hex), 4 bytes. In a URL it is %F0%90%84%9D.
- How do I write U+1011D in JavaScript or Python?
- JavaScript: \u{1011D} or \uD800\uDD1D. Python: \U0001011D.
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