π is the Unicode character LINEAR B SYLLABLE B029 PU2, code point U+10046 (decimal 65606) 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 81 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10046 |
| Decimal | 65606 |
| UTF-8 bytes | F0 90 81 86 |
| UTF-16 (big-endian) | D800 DC46 |
| UTF-32 | 00010046 |
| HTML decimal | 𐁆 |
| HTML hex | 𐁆 |
| CSS | \10046 |
| JavaScript | \u{10046} or \uD800\uDC46 |
| JSON | \uD800\uDC46 |
| Python | \U00010046 |
| Python by name | \N{LINEAR B SYLLABLE B029 PU2} |
| Java, C# | \uD800\uDC46 |
| Rust, Swift | \u{10046} |
| Go, C, C++ | \U00010046 |
| URL (percent-encoded) | %F0%90%81%86 |
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 B029 PU2 |
| Code point | U+10046 (decimal 65606) |
| 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+1003D Linear B Syllable B074 Ze
- πΏ U+1003F Linear B Syllable B020 Zo
- π U+10040 Linear B Syllable B025 A2
- π U+10041 Linear B Syllable B043 A3
- π U+10042 Linear B Syllable B085 Au
- π U+10043 Linear B Syllable B071 Dwe
- π U+10044 Linear B Syllable B090 Dwo
- π U+10045 Linear B Syllable B048 Nwa
- π U+10047 Linear B Syllable B062 Pte
- π U+10048 Linear B Syllable B076 Ra2
- π U+10049 Linear B Syllable B033 Ra3
- π U+1004A Linear B Syllable B068 Ro2
- π U+1004B Linear B Syllable B066 Ta2
- π U+1004C Linear B Syllable B087 Twe
- π U+1004D Linear B Syllable B091 Two
- π U+10050 Linear B Symbol B018
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+10046?
- F0 90 81 86 (hex), 4 bytes. In a URL it is %F0%90%81%86.
- How do I write U+10046 in JavaScript or Python?
- JavaScript: \u{10046} or \uD800\uDC46. Python: \U00010046.
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