π is the Unicode character ROMAN SESTERTIUS SIGN, code point U+10198 (decimal 65944) in the Ancient Symbols block, added in Unicode 5.1. In HTML write 𐆘, and in UTF-8 it is the 4 bytes F0 90 86 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10198 |
| Decimal | 65944 |
| UTF-8 bytes | F0 90 86 98 |
| UTF-16 (big-endian) | D800 DD98 |
| UTF-32 | 00010198 |
| HTML decimal | 𐆘 |
| HTML hex | 𐆘 |
| CSS | \10198 |
| JavaScript | \u{10198} or \uD800\uDD98 |
| JSON | \uD800\uDD98 |
| Python | \U00010198 |
| Python by name | \N{ROMAN SESTERTIUS SIGN} |
| Java, C# | \uD800\uDD98 |
| Rust, Swift | \u{10198} |
| Go, C, C++ | \U00010198 |
| URL (percent-encoded) | %F0%90%86%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 | ROMAN SESTERTIUS SIGN |
| Code point | U+10198 (decimal 65944) |
| Block | Ancient Symbols (U+10190βU+101CF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 5.1 |
Nearby in Ancient Symbols
- π U+10190 Roman Sextans Sign
- π U+10191 Roman Uncia Sign
- π U+10192 Roman Semuncia Sign
- π U+10193 Roman Sextula Sign
- π U+10194 Roman Dimidia Sextula Sign
- π U+10195 Roman Siliqua Sign
- π U+10196 Roman Denarius Sign
- π U+10197 Roman Quinarius Sign
- π U+10199 Roman Dupondius Sign
- π U+1019A Roman As Sign
- π U+1019B Roman Centurial Sign
- π U+1019C Ascia Symbol
- π U+101A0 Greek Symbol Tau Rho
All 14 characters: Ancient Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐆘 (decimal) or 𐆘 (hex).
- What is the UTF-8 encoding of U+10198?
- F0 90 86 98 (hex), 4 bytes. In a URL it is %F0%90%86%98.
- How do I write U+10198 in JavaScript or Python?
- JavaScript: \u{10198} or \uD800\uDD98. Python: \U00010198.
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