π is the Unicode character LINEAR A SIGN AB001, code point U+10600 (decimal 67072) 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 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10600 |
| Decimal | 67072 |
| UTF-8 bytes | F0 90 98 80 |
| UTF-16 (big-endian) | D801 DE00 |
| UTF-32 | 00010600 |
| HTML decimal | 𐘀 |
| HTML hex | 𐘀 |
| CSS | \10600 |
| JavaScript | \u{10600} or \uD801\uDE00 |
| JSON | \uD801\uDE00 |
| Python | \U00010600 |
| Python by name | \N{LINEAR A SIGN AB001} |
| Java, C# | \uD801\uDE00 |
| Rust, Swift | \u{10600} |
| Go, C, C++ | \U00010600 |
| URL (percent-encoded) | %F0%90%98%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 | LINEAR A SIGN AB001 |
| Code point | U+10600 (decimal 67072) |
| 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+10601 Linear A Sign Ab002
- π U+10602 Linear A Sign Ab003
- π U+10603 Linear A Sign Ab004
- π U+10604 Linear A Sign Ab005
- π U+10605 Linear A Sign Ab006
- π U+10606 Linear A Sign Ab007
- π U+10607 Linear A Sign Ab008
- π U+10608 Linear A Sign Ab009
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+10600?
- F0 90 98 80 (hex), 4 bytes. In a URL it is %F0%90%98%80.
- How do I write U+10600 in JavaScript or Python?
- JavaScript: \u{10600} or \uD801\uDE00. Python: \U00010600.
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