π is the Unicode character LINEAR B SYLLABLE B039 PI, code point U+10020 (decimal 65568) in the Linear B Syllabary block, added in Unicode 4.0. In HTML write 𐀠, and in UTF-8 it is the 4 bytes F0 90 80 A0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10020 |
| Decimal | 65568 |
| UTF-8 bytes | F0 90 80 A0 |
| UTF-16 (big-endian) | D800 DC20 |
| UTF-32 | 00010020 |
| HTML decimal | 𐀠 |
| HTML hex | 𐀠 |
| CSS | \10020 |
| JavaScript | \u{10020} or \uD800\uDC20 |
| JSON | \uD800\uDC20 |
| Python | \U00010020 |
| Python by name | \N{LINEAR B SYLLABLE B039 PI} |
| Java, C# | \uD800\uDC20 |
| Rust, Swift | \u{10020} |
| Go, C, C++ | \U00010020 |
| URL (percent-encoded) | %F0%90%80%A0 |
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 B SYLLABLE B039 PI |
| Code point | U+10020 (decimal 65568) |
| Block | Linear B Syllabary (U+10000βU+1007F) |
| General category | Lo: Other letter |
| Script | Linear B |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.0 |
Nearby in Linear B Syllabary
- π U+10018 Linear B Syllable B023 Mu
- π U+10019 Linear B Syllable B006 Na
- π U+1001A Linear B Syllable B024 Ne
- π U+1001B Linear B Syllable B030 Ni
- π U+1001C Linear B Syllable B052 No
- π U+1001D Linear B Syllable B055 Nu
- π U+1001E Linear B Syllable B003 Pa
- π U+1001F Linear B Syllable B072 Pe
- π‘ U+10021 Linear B Syllable B011 Po
- π’ U+10022 Linear B Syllable B050 Pu
- π£ U+10023 Linear B Syllable B016 Qa
- π€ U+10024 Linear B Syllable B078 Qe
- π₯ U+10025 Linear B Syllable B021 Qi
- π¦ U+10026 Linear B Syllable B032 Qo
- π¨ U+10028 Linear B Syllable B060 Ra
- π© U+10029 Linear B Syllable B027 Re
All 88 characters: Linear B Syllabary.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𐀠 (decimal) or 𐀠 (hex).
- What is the UTF-8 encoding of U+10020?
- F0 90 80 A0 (hex), 4 bytes. In a URL it is %F0%90%80%A0.
- How do I write U+10020 in JavaScript or Python?
- JavaScript: \u{10020} or \uD800\uDC20. Python: \U00010020.
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