π is the Unicode character LINEAR A SIGN A606, code point U+10708 (decimal 67336) in the Linear A block, added in Unicode 7.0. In HTML write 𐜈, and in UTF-8 it is the 4 bytes F0 90 9C 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10708 |
| Decimal | 67336 |
| UTF-8 bytes | F0 90 9C 88 |
| UTF-16 (big-endian) | D801 DF08 |
| UTF-32 | 00010708 |
| HTML decimal | 𐜈 |
| HTML hex | 𐜈 |
| CSS | \10708 |
| JavaScript | \u{10708} or \uD801\uDF08 |
| JSON | \uD801\uDF08 |
| Python | \U00010708 |
| Python by name | \N{LINEAR A SIGN A606} |
| Java, C# | \uD801\uDF08 |
| Rust, Swift | \u{10708} |
| Go, C, C++ | \U00010708 |
| URL (percent-encoded) | %F0%90%9C%88 |
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 A606 |
| Code point | U+10708 (decimal 67336) |
| 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+10700 Linear A Sign A595
- π U+10701 Linear A Sign A596
- π U+10702 Linear A Sign A598
- π U+10703 Linear A Sign A600
- π U+10704 Linear A Sign A601
- π U+10705 Linear A Sign A602
- π U+10706 Linear A Sign A603
- π U+10707 Linear A Sign A604
- π U+10709 Linear A Sign A608
- π U+1070A Linear A Sign A609
- π U+1070B Linear A Sign A610
- π U+1070C Linear A Sign A611
- π U+1070D Linear A Sign A612
- π U+1070E Linear A Sign A613
- π U+1070F Linear A Sign A614
- π U+10710 Linear A Sign A615
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+10708?
- F0 90 9C 88 (hex), 4 bytes. In a URL it is %F0%90%9C%88.
- How do I write U+10708 in JavaScript or Python?
- JavaScript: \u{10708} or \uD801\uDF08. Python: \U00010708.
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