π is the Unicode character LINEAR A SIGN A351, code point U+1068B (decimal 67211) 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 8B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1068B |
| Decimal | 67211 |
| UTF-8 bytes | F0 90 9A 8B |
| UTF-16 (big-endian) | D801 DE8B |
| UTF-32 | 0001068B |
| HTML decimal | 𐚋 |
| HTML hex | 𐚋 |
| CSS | \1068B |
| JavaScript | \u{1068B} or \uD801\uDE8B |
| JSON | \uD801\uDE8B |
| Python | \U0001068B |
| Python by name | \N{LINEAR A SIGN A351} |
| Java, C# | \uD801\uDE8B |
| Rust, Swift | \u{1068B} |
| Go, C, C++ | \U0001068B |
| URL (percent-encoded) | %F0%90%9A%8B |
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 A351 |
| Code point | U+1068B (decimal 67211) |
| 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+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
- π U+1068A Linear A Sign A350
- π U+1068C Linear A Sign A352
- π U+1068D Linear A Sign A353
- π U+1068E Linear A Sign A354
- π U+1068F Linear A Sign A355
- π U+10690 Linear A Sign A356
- π U+10691 Linear A Sign A357
- π U+10692 Linear A Sign A358
- π U+10693 Linear A Sign A359
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+1068B?
- F0 90 9A 8B (hex), 4 bytes. In a URL it is %F0%90%9A%8B.
- How do I write U+1068B in JavaScript or Python?
- JavaScript: \u{1068B} or \uD801\uDE8B. Python: \U0001068B.
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