π is the Unicode character LINEAR A SIGN A551, code point U+106DB (decimal 67291) in the Linear A block, added in Unicode 7.0. In HTML write 𐛛, and in UTF-8 it is the 4 bytes F0 90 9B 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+106DB |
| Decimal | 67291 |
| UTF-8 bytes | F0 90 9B 9B |
| UTF-16 (big-endian) | D801 DEDB |
| UTF-32 | 000106DB |
| HTML decimal | 𐛛 |
| HTML hex | 𐛛 |
| CSS | \106DB |
| JavaScript | \u{106DB} or \uD801\uDEDB |
| JSON | \uD801\uDEDB |
| Python | \U000106DB |
| Python by name | \N{LINEAR A SIGN A551} |
| Java, C# | \uD801\uDEDB |
| Rust, Swift | \u{106DB} |
| Go, C, C++ | \U000106DB |
| URL (percent-encoded) | %F0%90%9B%9B |
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 A SIGN A551 |
| Code point | U+106DB (decimal 67291) |
| Block | Linear A (U+10600βU+1077F) |
| General category | Lo: Other letter |
| Script | Linear A |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Linear A
- π U+106D3 Linear A Sign A540
- π U+106D4 Linear A Sign A541
- π U+106D5 Linear A Sign A542
- π U+106D6 Linear A Sign A545
- π U+106D7 Linear A Sign A547
- π U+106D8 Linear A Sign A548
- π U+106D9 Linear A Sign A549
- π U+106DA Linear A Sign A550
- π U+106DC Linear A Sign A552
- π U+106DD Linear A Sign A553
- π U+106DE Linear A Sign A554
- π U+106DF Linear A Sign A555
- π U+106E0 Linear A Sign A556
- π‘ U+106E1 Linear A Sign A557
- π’ U+106E2 Linear A Sign A559
- π£ U+106E3 Linear A Sign A563
All 340 characters: Linear A.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐛛 (decimal) or 𐛛 (hex).
- What is the UTF-8 encoding of U+106DB?
- F0 90 9B 9B (hex), 4 bytes. In a URL it is %F0%90%9B%9B.
- How do I write U+106DB in JavaScript or Python?
- JavaScript: \u{106DB} or \uD801\uDEDB. Python: \U000106DB.
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