π is the Unicode character GREEK ACROPHONIC TROEZENIAN FIVE, code point U+1015F (decimal 65887) 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 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1015F |
| Decimal | 65887 |
| UTF-8 bytes | F0 90 85 9F |
| UTF-16 (big-endian) | D800 DD5F |
| UTF-32 | 0001015F |
| HTML decimal | 𐅟 |
| HTML hex | 𐅟 |
| CSS | \1015F |
| JavaScript | \u{1015F} or \uD800\uDD5F |
| JSON | \uD800\uDD5F |
| Python | \U0001015F |
| Python by name | \N{GREEK ACROPHONIC TROEZENIAN FIVE} |
| Java, C# | \uD800\uDD5F |
| Rust, Swift | \u{1015F} |
| Go, C, C++ | \U0001015F |
| URL (percent-encoded) | %F0%90%85%9F |
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 TROEZENIAN FIVE |
| Code point | U+1015F (decimal 65887) |
| Block | Ancient Greek Numbers (U+10140βU+1018F) |
| General category | Nl: Letter number |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Numeric value | 5 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Numbers
- π 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+1015D Greek Acrophonic Cyrenaic Two Drachmas
- π U+1015E Greek Acrophonic Epidaurean Two Drachmas
- π 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
- π ¦ U+10166 Greek Acrophonic Troezenian Fifty
- π § U+10167 Greek Acrophonic Troezenian Fifty Alternate Form
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+1015F?
- F0 90 85 9F (hex), 4 bytes. In a URL it is %F0%90%85%9F.
- How do I write U+1015F in JavaScript or Python?
- JavaScript: \u{1015F} or \uD800\uDD5F. Python: \U0001015F.
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