π is the Unicode character LINEAR A SIGN AB026, code point U+10618 (decimal 67096) in the Linear A block, added in Unicode 7.0. In HTML write 𐘘, and in UTF-8 it is the 4 bytes F0 90 98 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10618 |
| Decimal | 67096 |
| UTF-8 bytes | F0 90 98 98 |
| UTF-16 (big-endian) | D801 DE18 |
| UTF-32 | 00010618 |
| HTML decimal | 𐘘 |
| HTML hex | 𐘘 |
| CSS | \10618 |
| JavaScript | \u{10618} or \uD801\uDE18 |
| JSON | \uD801\uDE18 |
| Python | \U00010618 |
| Python by name | \N{LINEAR A SIGN AB026} |
| Java, C# | \uD801\uDE18 |
| Rust, Swift | \u{10618} |
| Go, C, C++ | \U00010618 |
| URL (percent-encoded) | %F0%90%98%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 | LINEAR A SIGN AB026 |
| Code point | U+10618 (decimal 67096) |
| Block | Linear A (U+10600βU+1077F) |
| General category | Lo: Other letter |
| Script | Linear A |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Linear A
- π U+10610 Linear A Sign Ab021f
- π U+10611 Linear A Sign Ab021m
- π U+10612 Linear A Sign Ab022
- π U+10613 Linear A Sign Ab022f
- π U+10614 Linear A Sign Ab022m
- π U+10615 Linear A Sign Ab023
- π U+10616 Linear A Sign Ab023m
- π U+10617 Linear A Sign Ab024
- π U+10619 Linear A Sign Ab027
- π U+1061A Linear A Sign Ab028
- π U+1061B Linear A Sign A028b
- π U+1061C Linear A Sign Ab029
- π U+1061D Linear A Sign Ab030
- π U+1061E Linear A Sign Ab031
- π U+1061F Linear A Sign Ab034
- π U+10620 Linear A Sign Ab037
All 340 characters: Linear A.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐘘 (decimal) or 𐘘 (hex).
- What is the UTF-8 encoding of U+10618?
- F0 90 98 98 (hex), 4 bytes. In a URL it is %F0%90%98%98.
- How do I write U+10618 in JavaScript or Python?
- JavaScript: \u{10618} or \uD801\uDE18. Python: \U00010618.
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