π is the Unicode character SIDDHAM LETTER ALTERNATE U, code point U+115DB (decimal 71131) in the Siddham block, added in Unicode 8.0. In HTML write 𑗛, and in UTF-8 it is the 4 bytes F0 91 97 9B.
Codes
| Where | How to write it |
|---|---|
| Code point | U+115DB |
| Decimal | 71131 |
| UTF-8 bytes | F0 91 97 9B |
| UTF-16 (big-endian) | D805 DDDB |
| UTF-32 | 000115DB |
| HTML decimal | 𑗛 |
| HTML hex | 𑗛 |
| CSS | \115DB |
| JavaScript | \u{115DB} or \uD805\uDDDB |
| JSON | \uD805\uDDDB |
| Python | \U000115DB |
| Python by name | \N{SIDDHAM LETTER ALTERNATE U} |
| Java, C# | \uD805\uDDDB |
| Rust, Swift | \u{115DB} |
| Go, C, C++ | \U000115DB |
| URL (percent-encoded) | %F0%91%97%9B |
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 LETTER ALTERNATE U |
| Code point | U+115DB (decimal 71131) |
| Block | Siddham (U+11580βU+115FF) |
| General category | Lo: Other letter |
| Script | Siddham |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 8.0 |
Nearby in Siddham
- π U+115D3 Siddham Section Mark With Quadruple Crescents
- π U+115D4 Siddham Section Mark With Septuple Crescents
- π U+115D5 Siddham Section Mark With Circles And Rays
- π U+115D6 Siddham Section Mark With Circles And Two Enclosures
- π U+115D7 Siddham Section Mark With Circles And Four Enclosures
- π U+115D8 Siddham Letter Three-Circle Alternate I
- π U+115D9 Siddham Letter Two-Circle Alternate I
- π U+115DA Siddham Letter Two-Circle Alternate Ii
- U+115DC Siddham Vowel Sign Alternate U
- U+115DD Siddham Vowel Sign Alternate Uu
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+115DB?
- F0 91 97 9B (hex), 4 bytes. In a URL it is %F0%91%97%9B.
- How do I write U+115DB in JavaScript or Python?
- JavaScript: \u{115DB} or \uD805\uDDDB. Python: \U000115DB.
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