π is the Unicode character SIDDHAM DANDA, code point U+115C2 (decimal 71106) in the Siddham block, added in Unicode 7.0. In HTML write 𑗂, and in UTF-8 it is the 4 bytes F0 91 97 82.
Codes
| Where | How to write it |
|---|---|
| Code point | U+115C2 |
| Decimal | 71106 |
| UTF-8 bytes | F0 91 97 82 |
| UTF-16 (big-endian) | D805 DDC2 |
| UTF-32 | 000115C2 |
| HTML decimal | 𑗂 |
| HTML hex | 𑗂 |
| CSS | \115C2 |
| JavaScript | \u{115C2} or \uD805\uDDC2 |
| JSON | \uD805\uDDC2 |
| Python | \U000115C2 |
| Python by name | \N{SIDDHAM DANDA} |
| Java, C# | \uD805\uDDC2 |
| Rust, Swift | \u{115C2} |
| Go, C, C++ | \U000115C2 |
| URL (percent-encoded) | %F0%91%97%82 |
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 | SIDDHAM DANDA |
| Code point | U+115C2 (decimal 71106) |
| Block | Siddham (U+11580βU+115FF) |
| General category | Po: Other punctuation |
| Script | Siddham |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Siddham
- U+115BA Siddham Vowel Sign O
- U+115BB Siddham Vowel Sign Au
- U+115BC Siddham Sign Candrabindu
- U+115BD Siddham Sign Anusvara
- U+115BE Siddham Sign Visarga
- U+115BF Siddham Sign Virama
- U+115C0 Siddham Sign Nukta
- π U+115C1 Siddham Sign Siddham
- π U+115C3 Siddham Double Danda
- π U+115C4 Siddham Separator Dot
- π U+115C5 Siddham Separator Bar
- π U+115C6 Siddham Repetition Mark-1
- π U+115C7 Siddham Repetition Mark-2
- π U+115C8 Siddham Repetition Mark-3
- π U+115C9 Siddham End Of Text Mark
- π U+115CA Siddham Section Mark With Trident And U-Shaped Ornaments
All 92 characters: Siddham.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑗂 (decimal) or 𑗂 (hex).
- What is the UTF-8 encoding of U+115C2?
- F0 91 97 82 (hex), 4 bytes. In a URL it is %F0%91%97%82.
- How do I write U+115C2 in JavaScript or Python?
- JavaScript: \u{115C2} or \uD805\uDDC2. Python: \U000115C2.
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