π is the Unicode character GREEK ACROPHONIC ATTIC FIVE THOUSAND, code point U+10146 (decimal 65862) in the Ancient Greek Numbers block, added in Unicode 4.1. In HTML write 𐅆, and in UTF-8 it is the 4 bytes F0 90 85 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10146 |
| Decimal | 65862 |
| UTF-8 bytes | F0 90 85 86 |
| UTF-16 (big-endian) | D800 DD46 |
| UTF-32 | 00010146 |
| HTML decimal | 𐅆 |
| HTML hex | 𐅆 |
| CSS | \10146 |
| JavaScript | \u{10146} or \uD800\uDD46 |
| JSON | \uD800\uDD46 |
| Python | \U00010146 |
| Python by name | \N{GREEK ACROPHONIC ATTIC FIVE THOUSAND} |
| Java, C# | \uD800\uDD46 |
| Rust, Swift | \u{10146} |
| Go, C, C++ | \U00010146 |
| URL (percent-encoded) | %F0%90%85%86 |
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 | GREEK ACROPHONIC ATTIC FIVE THOUSAND |
| Code point | U+10146 (decimal 65862) |
| Block | Ancient Greek Numbers (U+10140βU+1018F) |
| General category | Nl: Letter number |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Numeric value | 5000 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Numbers
- π U+10140 Greek Acrophonic Attic One Quarter
- π U+10141 Greek Acrophonic Attic One Half
- π U+10142 Greek Acrophonic Attic One Drachma
- π U+10143 Greek Acrophonic Attic Five
- π U+10144 Greek Acrophonic Attic Fifty
- π U+10145 Greek Acrophonic Attic Five Hundred
- π U+10147 Greek Acrophonic Attic Fifty Thousand
- π U+10148 Greek Acrophonic Attic Five Talents
- π U+10149 Greek Acrophonic Attic Ten Talents
- π U+1014A Greek Acrophonic Attic Fifty Talents
- π U+1014B Greek Acrophonic Attic One Hundred Talents
- π U+1014C Greek Acrophonic Attic Five Hundred Talents
- π U+1014D Greek Acrophonic Attic One Thousand Talents
- π U+1014E Greek Acrophonic Attic Five Thousand Talents
All 79 characters: Ancient Greek Numbers.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𐅆 (decimal) or 𐅆 (hex).
- What is the UTF-8 encoding of U+10146?
- F0 90 85 86 (hex), 4 bytes. In a URL it is %F0%90%85%86.
- How do I write U+10146 in JavaScript or Python?
- JavaScript: \u{10146} or \uD800\uDD46. Python: \U00010146.
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