π is the Unicode character LINEAR A SIGN A627, code point U+1071B (decimal 67355) 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 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1071B |
| Decimal | 67355 |
| UTF-8 bytes | F0 90 9C 9B |
| UTF-16 (big-endian) | D801 DF1B |
| UTF-32 | 0001071B |
| HTML decimal | 𐜛 |
| HTML hex | 𐜛 |
| CSS | \1071B |
| JavaScript | \u{1071B} or \uD801\uDF1B |
| JSON | \uD801\uDF1B |
| Python | \U0001071B |
| Python by name | \N{LINEAR A SIGN A627} |
| Java, C# | \uD801\uDF1B |
| Rust, Swift | \u{1071B} |
| Go, C, C++ | \U0001071B |
| URL (percent-encoded) | %F0%90%9C%9B |
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 A627 |
| Code point | U+1071B (decimal 67355) |
| 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+10713 Linear A Sign A618
- π U+10714 Linear A Sign A619
- π U+10715 Linear A Sign A620
- π U+10716 Linear A Sign A621
- π U+10717 Linear A Sign A622
- π U+10718 Linear A Sign A623
- π U+10719 Linear A Sign A624
- π U+1071A Linear A Sign A626
- π U+1071C Linear A Sign A628
- π U+1071D Linear A Sign A629
- π U+1071E Linear A Sign A634
- π U+1071F Linear A Sign A637
- π U+10720 Linear A Sign A638
- π‘ U+10721 Linear A Sign A640
- π’ U+10722 Linear A Sign A642
- π£ U+10723 Linear A Sign A643
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+1071B?
- F0 90 9C 9B (hex), 4 bytes. In a URL it is %F0%90%9C%9B.
- How do I write U+1071B in JavaScript or Python?
- JavaScript: \u{1071B} or \uD801\uDF1B. Python: \U0001071B.
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