π is the Unicode character OLD PERSIAN SIGN HA, code point U+103C3 (decimal 66499) 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 83.
Codes
| Where | How to write it |
|---|---|
| Code point | U+103C3 |
| Decimal | 66499 |
| UTF-8 bytes | F0 90 8F 83 |
| UTF-16 (big-endian) | D800 DFC3 |
| UTF-32 | 000103C3 |
| HTML decimal | 𐏃 |
| HTML hex | 𐏃 |
| CSS | \103C3 |
| JavaScript | \u{103C3} or \uD800\uDFC3 |
| JSON | \uD800\uDFC3 |
| Python | \U000103C3 |
| Python by name | \N{OLD PERSIAN SIGN HA} |
| Java, C# | \uD800\uDFC3 |
| Rust, Swift | \u{103C3} |
| Go, C, C++ | \U000103C3 |
| URL (percent-encoded) | %F0%90%8F%83 |
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 HA |
| Code point | U+103C3 (decimal 66499) |
| 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+103BB Old Persian Sign Vi
- πΌ 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+103C8 Old Persian Sign Auramazdaa
- π 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
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+103C3?
- F0 90 8F 83 (hex), 4 bytes. In a URL it is %F0%90%8F%83.
- How do I write U+103C3 in JavaScript or Python?
- JavaScript: \u{103C3} or \uD800\uDFC3. Python: \U000103C3.
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