π is the Unicode character CYPRIOT SYLLABLE MU, code point U+10818 (decimal 67608) in the Cypriot Syllabary block, added in Unicode 4.0. In HTML write 𐠘, and in UTF-8 it is the 4 bytes F0 90 A0 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10818 |
| Decimal | 67608 |
| UTF-8 bytes | F0 90 A0 98 |
| UTF-16 (big-endian) | D802 DC18 |
| UTF-32 | 00010818 |
| HTML decimal | 𐠘 |
| HTML hex | 𐠘 |
| CSS | \10818 |
| JavaScript | \u{10818} or \uD802\uDC18 |
| JSON | \uD802\uDC18 |
| Python | \U00010818 |
| Python by name | \N{CYPRIOT SYLLABLE MU} |
| Java, C# | \uD802\uDC18 |
| Rust, Swift | \u{10818} |
| Go, C, C++ | \U00010818 |
| URL (percent-encoded) | %F0%90%A0%98 |
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 | CYPRIOT SYLLABLE MU |
| Code point | U+10818 (decimal 67608) |
| Block | Cypriot Syllabary (U+10800βU+1083F) |
| General category | Lo: Other letter |
| Script | Cypriot |
| Bidirectional class | R: Right-to-left |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Cypriot Syllabary
- π U+10810 Cypriot Syllable Le
- π U+10811 Cypriot Syllable Li
- π U+10812 Cypriot Syllable Lo
- π U+10813 Cypriot Syllable Lu
- π U+10814 Cypriot Syllable Ma
- π U+10815 Cypriot Syllable Me
- π U+10816 Cypriot Syllable Mi
- π U+10817 Cypriot Syllable Mo
- π U+10819 Cypriot Syllable Na
- π U+1081A Cypriot Syllable Ne
- π U+1081B Cypriot Syllable Ni
- π U+1081C Cypriot Syllable No
- π U+1081D Cypriot Syllable Nu
- π U+1081E Cypriot Syllable Pa
- π U+1081F Cypriot Syllable Pe
- π U+10820 Cypriot Syllable Pi
All 55 characters: Cypriot Syllabary.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𐠘 (decimal) or 𐠘 (hex).
- What is the UTF-8 encoding of U+10818?
- F0 90 A0 98 (hex), 4 bytes. In a URL it is %F0%90%A0%98.
- How do I write U+10818 in JavaScript or Python?
- JavaScript: \u{10818} or \uD802\uDC18. Python: \U00010818.
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