π is the Unicode character LINEAR A SIGN AB180, code point U+10652 (decimal 67154) 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 92.
Codes
| Where | How to write it |
|---|---|
| Code point | U+10652 |
| Decimal | 67154 |
| UTF-8 bytes | F0 90 99 92 |
| UTF-16 (big-endian) | D801 DE52 |
| UTF-32 | 00010652 |
| HTML decimal | 𐙒 |
| HTML hex | 𐙒 |
| CSS | \10652 |
| JavaScript | \u{10652} or \uD801\uDE52 |
| JSON | \uD801\uDE52 |
| Python | \U00010652 |
| Python by name | \N{LINEAR A SIGN AB180} |
| Java, C# | \uD801\uDE52 |
| Rust, Swift | \u{10652} |
| Go, C, C++ | \U00010652 |
| URL (percent-encoded) | %F0%90%99%92 |
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 AB180 |
| Code point | U+10652 (decimal 67154) |
| 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+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
- π U+10650 Linear A Sign Ab164
- π U+10651 Linear A Sign Ab171
- π U+10653 Linear A Sign Ab188
- π U+10654 Linear A Sign Ab191
- π U+10655 Linear A Sign A301
- π U+10656 Linear A Sign A302
- π U+10657 Linear A Sign A303
- π U+10658 Linear A Sign A304
- π U+10659 Linear A Sign A305
- π U+1065A Linear A Sign A306
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+10652?
- F0 90 99 92 (hex), 4 bytes. In a URL it is %F0%90%99%92.
- How do I write U+10652 in JavaScript or Python?
- JavaScript: \u{10652} or \uD801\uDE52. Python: \U00010652.
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