π is the Unicode character SHARADA OM, code point U+111C4 (decimal 70084) in the Sharada block, added in Unicode 6.1. In HTML write 𑇄, and in UTF-8 it is the 4 bytes F0 91 87 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+111C4 |
| Decimal | 70084 |
| UTF-8 bytes | F0 91 87 84 |
| UTF-16 (big-endian) | D804 DDC4 |
| UTF-32 | 000111C4 |
| HTML decimal | 𑇄 |
| HTML hex | 𑇄 |
| CSS | \111C4 |
| JavaScript | \u{111C4} or \uD804\uDDC4 |
| JSON | \uD804\uDDC4 |
| Python | \U000111C4 |
| Python by name | \N{SHARADA OM} |
| Java, C# | \uD804\uDDC4 |
| Rust, Swift | \u{111C4} |
| Go, C, C++ | \U000111C4 |
| URL (percent-encoded) | %F0%91%87%84 |
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 | SHARADA OM |
| Code point | U+111C4 (decimal 70084) |
| Block | Sharada (U+11180βU+111DF) |
| General category | Lo: Other letter |
| Script | Sharada |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.1 |
Nearby in Sharada
- U+111BC Sharada Vowel Sign E
- U+111BD Sharada Vowel Sign Ai
- U+111BE Sharada Vowel Sign O
- U+111BF Sharada Vowel Sign Au
- U+111C0 Sharada Sign Virama
- π U+111C1 Sharada Sign Avagraha
- π U+111C2 Sharada Sign Jihvamuliya
- π U+111C3 Sharada Sign Upadhmaniya
- π U+111C5 Sharada Danda
- π U+111C6 Sharada Double Danda
- π U+111C7 Sharada Abbreviation Sign
- π U+111C8 Sharada Separator
- U+111C9 Sharada Sandhi Mark
- U+111CA Sharada Sign Nukta
- U+111CB Sharada Vowel Modifier Mark
- U+111CC Sharada Extra Short Vowel Mark
All 96 characters: Sharada.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑇄 (decimal) or 𑇄 (hex).
- What is the UTF-8 encoding of U+111C4?
- F0 91 87 84 (hex), 4 bytes. In a URL it is %F0%91%87%84.
- How do I write U+111C4 in JavaScript or Python?
- JavaScript: \u{111C4} or \uD804\uDDC4. Python: \U000111C4.
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