π is the Unicode character GREEK FIVE OBOLS SIGN, code point U+10180 (decimal 65920) 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 86 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10180 |
| Decimal | 65920 |
| UTF-8 bytes | F0 90 86 80 |
| UTF-16 (big-endian) | D800 DD80 |
| UTF-32 | 00010180 |
| HTML decimal | 𐆀 |
| HTML hex | 𐆀 |
| CSS | \10180 |
| JavaScript | \u{10180} or \uD800\uDD80 |
| JSON | \uD800\uDD80 |
| Python | \U00010180 |
| Python by name | \N{GREEK FIVE OBOLS SIGN} |
| Java, C# | \uD800\uDD80 |
| Rust, Swift | \u{10180} |
| Go, C, C++ | \U00010180 |
| URL (percent-encoded) | %F0%90%86%80 |
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 FIVE OBOLS SIGN |
| Code point | U+10180 (decimal 65920) |
| Block | Ancient Greek Numbers (U+10140βU+1018F) |
| General category | So: Other symbol |
| Script | Greek |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Ancient Greek Numbers
- π Έ U+10178 Greek Three Quarters Sign
- π Ή U+10179 Greek Year Sign
- π Ί U+1017A Greek Talent Sign
- π » U+1017B Greek Drachma Sign
- π Ό U+1017C Greek Obol Sign
- π ½ U+1017D Greek Two Obols Sign
- π Ύ U+1017E Greek Three Obols Sign
- π Ώ U+1017F Greek Four Obols Sign
- π U+10181 Greek Metretes Sign
- π U+10182 Greek Kyathos Base Sign
- π U+10183 Greek Litra Sign
- π U+10184 Greek Ounkia Sign
- π U+10185 Greek Xestes Sign
- π U+10186 Greek Artabe Sign
- π U+10187 Greek Aroura Sign
- π U+10188 Greek Gramma Sign
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+10180?
- F0 90 86 80 (hex), 4 bytes. In a URL it is %F0%90%86%80.
- How do I write U+10180 in JavaScript or Python?
- JavaScript: \u{10180} or \uD800\uDD80. Python: \U00010180.
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