π is the Unicode character LINEAR A SIGN A341, code point U+10681 (decimal 67201) in the Linear A block, added in Unicode 7.0. In HTML write 𐚁, and in UTF-8 it is the 4 bytes F0 90 9A 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10681 |
| Decimal | 67201 |
| UTF-8 bytes | F0 90 9A 81 |
| UTF-16 (big-endian) | D801 DE81 |
| UTF-32 | 00010681 |
| HTML decimal | 𐚁 |
| HTML hex | 𐚁 |
| CSS | \10681 |
| JavaScript | \u{10681} or \uD801\uDE81 |
| JSON | \uD801\uDE81 |
| Python | \U00010681 |
| Python by name | \N{LINEAR A SIGN A341} |
| Java, C# | \uD801\uDE81 |
| Rust, Swift | \u{10681} |
| Go, C, C++ | \U00010681 |
| URL (percent-encoded) | %F0%90%9A%81 |
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 A341 |
| Code point | U+10681 (decimal 67201) |
| 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+10679 Linear A Sign A333
- πΊ U+1067A Linear A Sign A334
- π» U+1067B Linear A Sign A335
- πΌ U+1067C Linear A Sign A336
- π½ U+1067D Linear A Sign A337
- πΎ U+1067E Linear A Sign A338
- πΏ U+1067F Linear A Sign A339
- π U+10680 Linear A Sign A340
- π U+10682 Linear A Sign A342
- π U+10683 Linear A Sign A343
- π U+10684 Linear A Sign A344
- π U+10685 Linear A Sign A345
- π U+10686 Linear A Sign A346
- π U+10687 Linear A Sign A347
- π U+10688 Linear A Sign A348
- π U+10689 Linear A Sign A349
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+10681?
- F0 90 9A 81 (hex), 4 bytes. In a URL it is %F0%90%9A%81.
- How do I write U+10681 in JavaScript or Python?
- JavaScript: \u{10681} or \uD801\uDE81. Python: \U00010681.
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