π is the Unicode character LINEAR A SIGN A538, code point U+106D1 (decimal 67281) 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 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+106D1 |
| Decimal | 67281 |
| UTF-8 bytes | F0 90 9B 91 |
| UTF-16 (big-endian) | D801 DED1 |
| UTF-32 | 000106D1 |
| HTML decimal | 𐛑 |
| HTML hex | 𐛑 |
| CSS | \106D1 |
| JavaScript | \u{106D1} or \uD801\uDED1 |
| JSON | \uD801\uDED1 |
| Python | \U000106D1 |
| Python by name | \N{LINEAR A SIGN A538} |
| Java, C# | \uD801\uDED1 |
| Rust, Swift | \u{106D1} |
| Go, C, C++ | \U000106D1 |
| URL (percent-encoded) | %F0%90%9B%91 |
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 A538 |
| Code point | U+106D1 (decimal 67281) |
| 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+106C9 Linear A Sign A529
- π U+106CA Linear A Sign A530
- π U+106CB Linear A Sign A531
- π U+106CC Linear A Sign A532
- π U+106CD Linear A Sign A534
- π U+106CE Linear A Sign A535
- π U+106CF Linear A Sign A536
- π U+106D0 Linear A Sign A537
- π U+106D2 Linear A Sign A539
- π 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
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+106D1?
- F0 90 9B 91 (hex), 4 bytes. In a URL it is %F0%90%9B%91.
- How do I write U+106D1 in JavaScript or Python?
- JavaScript: \u{106D1} or \uD801\uDED1. Python: \U000106D1.
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