π is the Unicode character GREEK ACROPHONIC CYRENAIC TWO DRACHMAS, code point U+1015D (decimal 65885) 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 9D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1015D |
| Decimal | 65885 |
| UTF-8 bytes | F0 90 85 9D |
| UTF-16 (big-endian) | D800 DD5D |
| UTF-32 | 0001015D |
| HTML decimal | 𐅝 |
| HTML hex | 𐅝 |
| CSS | \1015D |
| JavaScript | \u{1015D} or \uD800\uDD5D |
| JSON | \uD800\uDD5D |
| Python | \U0001015D |
| Python by name | \N{GREEK ACROPHONIC CYRENAIC TWO DRACHMAS} |
| Java, C# | \uD800\uDD5D |
| Rust, Swift | \u{1015D} |
| Go, C, C++ | \U0001015D |
| URL (percent-encoded) | %F0%90%85%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 | GREEK ACROPHONIC CYRENAIC TWO DRACHMAS |
| Code point | U+1015D (decimal 65885) |
| Block | Ancient Greek Numbers (U+10140βU+1018F) |
| General category | Nl: Letter number |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Numeric value | 2 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Numbers
- π 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+1015A Greek Acrophonic Hermionian One
- π U+1015B Greek Acrophonic Epidaurean Two
- π U+1015C Greek Acrophonic Thespian Two
- π 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
- π £ U+10163 Greek Acrophonic Messenian Ten
- π € U+10164 Greek Acrophonic Thespian Ten
- π ₯ U+10165 Greek Acrophonic Thespian Thirty
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+1015D?
- F0 90 85 9D (hex), 4 bytes. In a URL it is %F0%90%85%9D.
- How do I write U+1015D in JavaScript or Python?
- JavaScript: \u{1015D} or \uD800\uDD5D. Python: \U0001015D.
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