π is the Unicode character DOGRA LETTER DHA, code point U+1181C (decimal 71708) in the Dogra block, added in Unicode 11.0. In HTML write 𑠜, and in UTF-8 it is the 4 bytes F0 91 A0 9C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1181C |
| Decimal | 71708 |
| UTF-8 bytes | F0 91 A0 9C |
| UTF-16 (big-endian) | D806 DC1C |
| UTF-32 | 0001181C |
| HTML decimal | 𑠜 |
| HTML hex | 𑠜 |
| CSS | \1181C |
| JavaScript | \u{1181C} or \uD806\uDC1C |
| JSON | \uD806\uDC1C |
| Python | \U0001181C |
| Python by name | \N{DOGRA LETTER DHA} |
| Java, C# | \uD806\uDC1C |
| Rust, Swift | \u{1181C} |
| Go, C, C++ | \U0001181C |
| URL (percent-encoded) | %F0%91%A0%9C |
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 | DOGRA LETTER DHA |
| Code point | U+1181C (decimal 71708) |
| Block | Dogra (U+11800βU+1184F) |
| General category | Lo: Other letter |
| Script | Dogra |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 11.0 |
Nearby in Dogra
- π U+11814 Dogra Letter Tta
- π U+11815 Dogra Letter Ttha
- π U+11816 Dogra Letter Dda
- π U+11817 Dogra Letter Ddha
- π U+11818 Dogra Letter Nna
- π U+11819 Dogra Letter Ta
- π U+1181A Dogra Letter Tha
- π U+1181B Dogra Letter Da
- π U+1181D Dogra Letter Na
- π U+1181E Dogra Letter Pa
- π U+1181F Dogra Letter Pha
- π U+11820 Dogra Letter Ba
- π ‘ U+11821 Dogra Letter Bha
- π ’ U+11822 Dogra Letter Ma
- π £ U+11823 Dogra Letter Ya
- π € U+11824 Dogra Letter Ra
All 60 characters: Dogra.
Official reference
Questions people ask
- What is the HTML code for π ?
- Use 𑠜 (decimal) or 𑠜 (hex).
- What is the UTF-8 encoding of U+1181C?
- F0 91 A0 9C (hex), 4 bytes. In a URL it is %F0%91%A0%9C.
- How do I write U+1181C in JavaScript or Python?
- JavaScript: \u{1181C} or \uD806\uDC1C. Python: \U0001181C.
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