π is the Unicode character LINEAR A SIGN A309C, code point U+1065F (decimal 67167) 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 9F.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1065F |
| Decimal | 67167 |
| UTF-8 bytes | F0 90 99 9F |
| UTF-16 (big-endian) | D801 DE5F |
| UTF-32 | 0001065F |
| HTML decimal | 𐙟 |
| HTML hex | 𐙟 |
| CSS | \1065F |
| JavaScript | \u{1065F} or \uD801\uDE5F |
| JSON | \uD801\uDE5F |
| Python | \U0001065F |
| Python by name | \N{LINEAR A SIGN A309C} |
| Java, C# | \uD801\uDE5F |
| Rust, Swift | \u{1065F} |
| Go, C, C++ | \U0001065F |
| URL (percent-encoded) | %F0%90%99%9F |
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 A309C |
| Code point | U+1065F (decimal 67167) |
| 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+10657 Linear A Sign A303
- π U+10658 Linear A Sign A304
- π U+10659 Linear A Sign A305
- π U+1065A Linear A Sign A306
- π U+1065B Linear A Sign A307
- π U+1065C Linear A Sign A308
- π U+1065D Linear A Sign A309a
- π U+1065E Linear A Sign A309b
- π U+10660 Linear A Sign A310
- π‘ U+10661 Linear A Sign A311
- π’ U+10662 Linear A Sign A312
- π£ U+10663 Linear A Sign A313a
- π€ U+10664 Linear A Sign A313b
- π₯ U+10665 Linear A Sign A313c
- π¦ U+10666 Linear A Sign A314
- π§ U+10667 Linear A Sign A315
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+1065F?
- F0 90 99 9F (hex), 4 bytes. In a URL it is %F0%90%99%9F.
- How do I write U+1065F in JavaScript or Python?
- JavaScript: \u{1065F} or \uD801\uDE5F. Python: \U0001065F.
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