π is the Unicode character LINEAR A SIGN A548, code point U+106D8 (decimal 67288) 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 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+106D8 |
| Decimal | 67288 |
| UTF-8 bytes | F0 90 9B 98 |
| UTF-16 (big-endian) | D801 DED8 |
| UTF-32 | 000106D8 |
| HTML decimal | 𐛘 |
| HTML hex | 𐛘 |
| CSS | \106D8 |
| JavaScript | \u{106D8} or \uD801\uDED8 |
| JSON | \uD801\uDED8 |
| Python | \U000106D8 |
| Python by name | \N{LINEAR A SIGN A548} |
| Java, C# | \uD801\uDED8 |
| Rust, Swift | \u{106D8} |
| Go, C, C++ | \U000106D8 |
| URL (percent-encoded) | %F0%90%9B%98 |
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 A548 |
| Code point | U+106D8 (decimal 67288) |
| 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+106D0 Linear A Sign A537
- π U+106D1 Linear A Sign A538
- π 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+106D9 Linear A Sign A549
- π U+106DA Linear A Sign A550
- π U+106DB Linear A Sign A551
- π 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
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+106D8?
- F0 90 9B 98 (hex), 4 bytes. In a URL it is %F0%90%9B%98.
- How do I write U+106D8 in JavaScript or Python?
- JavaScript: \u{106D8} or \uD801\uDED8. Python: \U000106D8.
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