π is the Unicode character KHUDAWADI LETTER NNA, code point U+112CC (decimal 70348) in the Khudawadi block, added in Unicode 7.0. In HTML write 𑋌, and in UTF-8 it is the 4 bytes F0 91 8B 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+112CC |
| Decimal | 70348 |
| UTF-8 bytes | F0 91 8B 8C |
| UTF-16 (big-endian) | D804 DECC |
| UTF-32 | 000112CC |
| HTML decimal | 𑋌 |
| HTML hex | 𑋌 |
| CSS | \112CC |
| JavaScript | \u{112CC} or \uD804\uDECC |
| JSON | \uD804\uDECC |
| Python | \U000112CC |
| Python by name | \N{KHUDAWADI LETTER NNA} |
| Java, C# | \uD804\uDECC |
| Rust, Swift | \u{112CC} |
| Go, C, C++ | \U000112CC |
| URL (percent-encoded) | %F0%91%8B%8C |
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 | KHUDAWADI LETTER NNA |
| Code point | U+112CC (decimal 70348) |
| Block | Khudawadi (U+112B0βU+112FF) |
| General category | Lo: Other letter |
| Script | Khudawadi |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 7.0 |
Nearby in Khudawadi
- π U+112C4 Khudawadi Letter Jha
- π U+112C5 Khudawadi Letter Nya
- π U+112C6 Khudawadi Letter Tta
- π U+112C7 Khudawadi Letter Ttha
- π U+112C8 Khudawadi Letter Dda
- π U+112C9 Khudawadi Letter Ddda
- π U+112CA Khudawadi Letter Rra
- π U+112CB Khudawadi Letter Ddha
- π U+112CD Khudawadi Letter Ta
- π U+112CE Khudawadi Letter Tha
- π U+112CF Khudawadi Letter Da
- π U+112D0 Khudawadi Letter Dha
- π U+112D1 Khudawadi Letter Na
- π U+112D2 Khudawadi Letter Pa
- π U+112D3 Khudawadi Letter Pha
- π U+112D4 Khudawadi Letter Ba
All 69 characters: Khudawadi.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𑋌 (decimal) or 𑋌 (hex).
- What is the UTF-8 encoding of U+112CC?
- F0 91 8B 8C (hex), 4 bytes. In a URL it is %F0%91%8B%8C.
- How do I write U+112CC in JavaScript or Python?
- JavaScript: \u{112CC} or \uD804\uDECC. Python: \U000112CC.
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