π is the Unicode character LINEAR B SYMBOL B056, code point U+10056 (decimal 65622) 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 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10056 |
| Decimal | 65622 |
| UTF-8 bytes | F0 90 81 96 |
| UTF-16 (big-endian) | D800 DC56 |
| UTF-32 | 00010056 |
| HTML decimal | 𐁖 |
| HTML hex | 𐁖 |
| CSS | \10056 |
| JavaScript | \u{10056} or \uD800\uDC56 |
| JSON | \uD800\uDC56 |
| Python | \U00010056 |
| Python by name | \N{LINEAR B SYMBOL B056} |
| Java, C# | \uD800\uDC56 |
| Rust, Swift | \u{10056} |
| Go, C, C++ | \U00010056 |
| URL (percent-encoded) | %F0%90%81%96 |
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 SYMBOL B056 |
| Code point | U+10056 (decimal 65622) |
| 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+1004C Linear B Syllable B087 Twe
- π U+1004D Linear B Syllable B091 Two
- π U+10050 Linear B Symbol B018
- π U+10051 Linear B Symbol B019
- π U+10052 Linear B Symbol B022
- π U+10053 Linear B Symbol B034
- π U+10054 Linear B Symbol B047
- π U+10055 Linear B Symbol B049
- π U+10057 Linear B Symbol B063
- π U+10058 Linear B Symbol B064
- π U+10059 Linear B Symbol B079
- π U+1005A Linear B Symbol B082
- π U+1005B Linear B Symbol B083
- π U+1005C Linear B Symbol B086
- π U+1005D Linear B Symbol B089
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+10056?
- F0 90 81 96 (hex), 4 bytes. In a URL it is %F0%90%81%96.
- How do I write U+10056 in JavaScript or Python?
- JavaScript: \u{10056} or \uD800\uDC56. Python: \U00010056.
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