π is the Unicode character DOGRA LETTER NGA, code point U+1180E (decimal 71694) in the Dogra block, added in Unicode 11.0. In HTML write 𑠎, and in UTF-8 it is the 4 bytes F0 91 A0 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1180E |
| Decimal | 71694 |
| UTF-8 bytes | F0 91 A0 8E |
| UTF-16 (big-endian) | D806 DC0E |
| UTF-32 | 0001180E |
| HTML decimal | 𑠎 |
| HTML hex | 𑠎 |
| CSS | \1180E |
| JavaScript | \u{1180E} or \uD806\uDC0E |
| JSON | \uD806\uDC0E |
| Python | \U0001180E |
| Python by name | \N{DOGRA LETTER NGA} |
| Java, C# | \uD806\uDC0E |
| Rust, Swift | \u{1180E} |
| Go, C, C++ | \U0001180E |
| URL (percent-encoded) | %F0%91%A0%8E |
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 NGA |
| Code point | U+1180E (decimal 71694) |
| 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+11806 Dogra Letter E
- π U+11807 Dogra Letter Ai
- π U+11808 Dogra Letter O
- π U+11809 Dogra Letter Au
- π U+1180A Dogra Letter Ka
- π U+1180B Dogra Letter Kha
- π U+1180C Dogra Letter Ga
- π U+1180D Dogra Letter Gha
- π U+1180F Dogra Letter Ca
- π U+11810 Dogra Letter Cha
- π U+11811 Dogra Letter Ja
- π U+11812 Dogra Letter Jha
- π U+11813 Dogra Letter Nya
- π U+11814 Dogra Letter Tta
- π U+11815 Dogra Letter Ttha
- π U+11816 Dogra Letter Dda
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+1180E?
- F0 91 A0 8E (hex), 4 bytes. In a URL it is %F0%91%A0%8E.
- How do I write U+1180E in JavaScript or Python?
- JavaScript: \u{1180E} or \uD806\uDC0E. Python: \U0001180E.
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