π is the Unicode character OLD PERSIAN SIGN AURAMAZDAA, code point U+103C8 (decimal 66504) in the Old Persian block, added in Unicode 4.1. In HTML write 𐏈, and in UTF-8 it is the 4 bytes F0 90 8F 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+103C8 |
| Decimal | 66504 |
| UTF-8 bytes | F0 90 8F 88 |
| UTF-16 (big-endian) | D800 DFC8 |
| UTF-32 | 000103C8 |
| HTML decimal | 𐏈 |
| HTML hex | 𐏈 |
| CSS | \103C8 |
| JavaScript | \u{103C8} or \uD800\uDFC8 |
| JSON | \uD800\uDFC8 |
| Python | \U000103C8 |
| Python by name | \N{OLD PERSIAN SIGN AURAMAZDAA} |
| Java, C# | \uD800\uDFC8 |
| Rust, Swift | \u{103C8} |
| Go, C, C++ | \U000103C8 |
| URL (percent-encoded) | %F0%90%8F%88 |
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 | OLD PERSIAN SIGN AURAMAZDAA |
| Code point | U+103C8 (decimal 66504) |
| Block | Old Persian (U+103A0βU+103DF) |
| General category | Lo: Other letter |
| Script | Old Persian |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 4.1 |
Nearby in Old Persian
- πΌ U+103BC Old Persian Sign Ra
- π½ U+103BD Old Persian Sign Ru
- πΎ U+103BE Old Persian Sign La
- πΏ U+103BF Old Persian Sign Sa
- π U+103C0 Old Persian Sign Za
- π U+103C1 Old Persian Sign Sha
- π U+103C2 Old Persian Sign Ssa
- π U+103C3 Old Persian Sign Ha
- π U+103C9 Old Persian Sign Auramazdaa-2
- π U+103CA Old Persian Sign Auramazdaaha
- π U+103CB Old Persian Sign Xshaayathiya
- π U+103CC Old Persian Sign Dahyaaush
- π U+103CD Old Persian Sign Dahyaaush-2
- π U+103CE Old Persian Sign Baga
- π U+103CF Old Persian Sign Buumish
- π U+103D0 Old Persian Word Divider
All 50 characters: Old Persian.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𐏈 (decimal) or 𐏈 (hex).
- What is the UTF-8 encoding of U+103C8?
- F0 90 8F 88 (hex), 4 bytes. In a URL it is %F0%90%8F%88.
- How do I write U+103C8 in JavaScript or Python?
- JavaScript: \u{103C8} or \uD800\uDFC8. Python: \U000103C8.
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