π is the Unicode character LINEAR B SYLLABLE B003 PA, code point U+1001E (decimal 65566) 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 9E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1001E |
| Decimal | 65566 |
| UTF-8 bytes | F0 90 80 9E |
| UTF-16 (big-endian) | D800 DC1E |
| UTF-32 | 0001001E |
| HTML decimal | 𐀞 |
| HTML hex | 𐀞 |
| CSS | \1001E |
| JavaScript | \u{1001E} or \uD800\uDC1E |
| JSON | \uD800\uDC1E |
| Python | \U0001001E |
| Python by name | \N{LINEAR B SYLLABLE B003 PA} |
| Java, C# | \uD800\uDC1E |
| Rust, Swift | \u{1001E} |
| Go, C, C++ | \U0001001E |
| URL (percent-encoded) | %F0%90%80%9E |
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 B003 PA |
| Code point | U+1001E (decimal 65566) |
| 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+10016 Linear B Syllable B073 Mi
- π U+10017 Linear B Syllable B015 Mo
- π 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+1001F Linear B Syllable B072 Pe
- π U+10020 Linear B Syllable B039 Pi
- π‘ 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
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+1001E?
- F0 90 80 9E (hex), 4 bytes. In a URL it is %F0%90%80%9E.
- How do I write U+1001E in JavaScript or Python?
- JavaScript: \u{1001E} or \uD800\uDC1E. Python: \U0001001E.
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