π is the Unicode character LINEAR B SYLLABLE B015 MO, code point U+10017 (decimal 65559) 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 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10017 |
| Decimal | 65559 |
| UTF-8 bytes | F0 90 80 97 |
| UTF-16 (big-endian) | D800 DC17 |
| UTF-32 | 00010017 |
| HTML decimal | 𐀗 |
| HTML hex | 𐀗 |
| CSS | \10017 |
| JavaScript | \u{10017} or \uD800\uDC17 |
| JSON | \uD800\uDC17 |
| Python | \U00010017 |
| Python by name | \N{LINEAR B SYLLABLE B015 MO} |
| Java, C# | \uD800\uDC17 |
| Rust, Swift | \u{10017} |
| Go, C, C++ | \U00010017 |
| URL (percent-encoded) | %F0%90%80%97 |
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 B015 MO |
| Code point | U+10017 (decimal 65559) |
| 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+1000F Linear B Syllable B077 Ka
- π U+10010 Linear B Syllable B044 Ke
- π U+10011 Linear B Syllable B067 Ki
- π U+10012 Linear B Syllable B070 Ko
- π U+10013 Linear B Syllable B081 Ku
- π U+10014 Linear B Syllable B080 Ma
- π U+10015 Linear B Syllable B013 Me
- π U+10016 Linear B Syllable B073 Mi
- π 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
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+10017?
- F0 90 80 97 (hex), 4 bytes. In a URL it is %F0%90%80%97.
- How do I write U+10017 in JavaScript or Python?
- JavaScript: \u{10017} or \uD800\uDC17. Python: \U00010017.
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