π is the Unicode character LINEAR A SIGN AB087, code point U+10646 (decimal 67142) in the Linear A block, added in Unicode 7.0. In HTML write 𐙆, and in UTF-8 it is the 4 bytes F0 90 99 86.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10646 |
| Decimal | 67142 |
| UTF-8 bytes | F0 90 99 86 |
| UTF-16 (big-endian) | D801 DE46 |
| UTF-32 | 00010646 |
| HTML decimal | 𐙆 |
| HTML hex | 𐙆 |
| CSS | \10646 |
| JavaScript | \u{10646} or \uD801\uDE46 |
| JSON | \uD801\uDE46 |
| Python | \U00010646 |
| Python by name | \N{LINEAR A SIGN AB087} |
| Java, C# | \uD801\uDE46 |
| Rust, Swift | \u{10646} |
| Go, C, C++ | \U00010646 |
| URL (percent-encoded) | %F0%90%99%86 |
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 AB087 |
| Code point | U+10646 (decimal 67142) |
| 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+1063E Linear A Sign Ab077
- πΏ U+1063F Linear A Sign Ab078
- π U+10640 Linear A Sign Ab079
- π U+10641 Linear A Sign Ab080
- π U+10642 Linear A Sign Ab081
- π U+10643 Linear A Sign Ab082
- π U+10644 Linear A Sign Ab085
- π U+10645 Linear A Sign Ab086
- π U+10648 Linear A Sign Ab118
- π U+10649 Linear A Sign Ab120
- π U+1064A Linear A Sign A120b
- π U+1064B Linear A Sign Ab122
- π U+1064C Linear A Sign Ab123
- π U+1064D Linear A Sign Ab131a
- π U+1064E Linear A Sign Ab131b
- π U+1064F Linear A Sign A131c
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+10646?
- F0 90 99 86 (hex), 4 bytes. In a URL it is %F0%90%99%86.
- How do I write U+10646 in JavaScript or Python?
- JavaScript: \u{10646} or \uD801\uDE46. Python: \U00010646.
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