π is the Unicode character GREEK ACROPHONIC HERMIONIAN ONE, code point U+1015A (decimal 65882) 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 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1015A |
| Decimal | 65882 |
| UTF-8 bytes | F0 90 85 9A |
| UTF-16 (big-endian) | D800 DD5A |
| UTF-32 | 0001015A |
| HTML decimal | 𐅚 |
| HTML hex | 𐅚 |
| CSS | \1015A |
| JavaScript | \u{1015A} or \uD800\uDD5A |
| JSON | \uD800\uDD5A |
| Python | \U0001015A |
| Python by name | \N{GREEK ACROPHONIC HERMIONIAN ONE} |
| Java, C# | \uD800\uDD5A |
| Rust, Swift | \u{1015A} |
| Go, C, C++ | \U0001015A |
| URL (percent-encoded) | %F0%90%85%9A |
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 HERMIONIAN ONE |
| Code point | U+1015A (decimal 65882) |
| Block | Ancient Greek Numbers (U+10140βU+1018F) |
| General category | Nl: Letter number |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Numeric value | 1 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Numbers
- π U+10152 Greek Acrophonic Attic One Hundred Staters
- π U+10153 Greek Acrophonic Attic Five Hundred Staters
- π U+10154 Greek Acrophonic Attic One Thousand Staters
- π U+10155 Greek Acrophonic Attic Ten Thousand Staters
- π U+10156 Greek Acrophonic Attic Fifty Thousand Staters
- π U+10157 Greek Acrophonic Attic Ten Mnas
- π U+10158 Greek Acrophonic Heraeum One Plethron
- π U+10159 Greek Acrophonic Thespian One
- π U+1015B Greek Acrophonic Epidaurean Two
- π U+1015C Greek Acrophonic Thespian Two
- π U+1015D Greek Acrophonic Cyrenaic Two Drachmas
- π U+1015E Greek Acrophonic Epidaurean Two Drachmas
- π U+1015F Greek Acrophonic Troezenian Five
- π U+10160 Greek Acrophonic Troezenian Ten
- π ‘ U+10161 Greek Acrophonic Troezenian Ten Alternate Form
- π ’ U+10162 Greek Acrophonic Hermionian Ten
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+1015A?
- F0 90 85 9A (hex), 4 bytes. In a URL it is %F0%90%85%9A.
- How do I write U+1015A in JavaScript or Python?
- JavaScript: \u{1015A} or \uD800\uDD5A. Python: \U0001015A.
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