π is the Unicode character AEGEAN NUMBER FOUR HUNDRED, code point U+1011C (decimal 65820) 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 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1011C |
| Decimal | 65820 |
| UTF-8 bytes | F0 90 84 9C |
| UTF-16 (big-endian) | D800 DD1C |
| UTF-32 | 0001011C |
| HTML decimal | 𐄜 |
| HTML hex | 𐄜 |
| CSS | \1011C |
| JavaScript | \u{1011C} or \uD800\uDD1C |
| JSON | \uD800\uDD1C |
| Python | \U0001011C |
| Python by name | \N{AEGEAN NUMBER FOUR HUNDRED} |
| Java, C# | \uD800\uDD1C |
| Rust, Swift | \u{1011C} |
| Go, C, C++ | \U0001011C |
| URL (percent-encoded) | %F0%90%84%9C |
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 FOUR HUNDRED |
| Code point | U+1011C (decimal 65820) |
| Block | Aegean Numbers (U+10100βU+1013F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Numeric value | 400 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Aegean Numbers
- π U+10114 Aegean Number Fifty
- π 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+1011D Aegean Number Five 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
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+1011C?
- F0 90 84 9C (hex), 4 bytes. In a URL it is %F0%90%84%9C.
- How do I write U+1011C in JavaScript or Python?
- JavaScript: \u{1011C} or \uD800\uDD1C. Python: \U0001011C.
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