π is the Unicode character OLD PERSIAN SIGN DAHYAAUSH-2, code point U+103CD (decimal 66509) 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 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+103CD |
| Decimal | 66509 |
| UTF-8 bytes | F0 90 8F 8D |
| UTF-16 (big-endian) | D800 DFCD |
| UTF-32 | 000103CD |
| HTML decimal | 𐏍 |
| HTML hex | 𐏍 |
| CSS | \103CD |
| JavaScript | \u{103CD} or \uD800\uDFCD |
| JSON | \uD800\uDFCD |
| Python | \U000103CD |
| Python by name | \N{OLD PERSIAN SIGN DAHYAAUSH-2} |
| Java, C# | \uD800\uDFCD |
| Rust, Swift | \u{103CD} |
| Go, C, C++ | \U000103CD |
| URL (percent-encoded) | %F0%90%8F%8D |
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 DAHYAAUSH-2 |
| Code point | U+103CD (decimal 66509) |
| 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+103C1 Old Persian Sign Sha
- π U+103C2 Old Persian Sign Ssa
- π U+103C3 Old Persian Sign Ha
- π 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+103CE Old Persian Sign Baga
- π U+103CF Old Persian Sign Buumish
- π U+103D0 Old Persian Word Divider
- π U+103D1 Old Persian Number One
- π U+103D2 Old Persian Number Two
- π U+103D3 Old Persian Number Ten
- π U+103D4 Old Persian Number Twenty
- π U+103D5 Old Persian Number Hundred
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+103CD?
- F0 90 8F 8D (hex), 4 bytes. In a URL it is %F0%90%8F%8D.
- How do I write U+103CD in JavaScript or Python?
- JavaScript: \u{103CD} or \uD800\uDFCD. Python: \U000103CD.
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