π is the Unicode character KHUDAWADI LETTER YA, code point U+112D8 (decimal 70360) in the Khudawadi block, added in Unicode 7.0. In HTML write 𑋘, and in UTF-8 it is the 4 bytes F0 91 8B 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+112D8 |
| Decimal | 70360 |
| UTF-8 bytes | F0 91 8B 98 |
| UTF-16 (big-endian) | D804 DED8 |
| UTF-32 | 000112D8 |
| HTML decimal | 𑋘 |
| HTML hex | 𑋘 |
| CSS | \112D8 |
| JavaScript | \u{112D8} or \uD804\uDED8 |
| JSON | \uD804\uDED8 |
| Python | \U000112D8 |
| Python by name | \N{KHUDAWADI LETTER YA} |
| Java, C# | \uD804\uDED8 |
| Rust, Swift | \u{112D8} |
| Go, C, C++ | \U000112D8 |
| URL (percent-encoded) | %F0%91%8B%98 |
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 YA |
| Code point | U+112D8 (decimal 70360) |
| 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+112D0 Khudawadi Letter Dha
- π U+112D1 Khudawadi Letter Na
- π U+112D2 Khudawadi Letter Pa
- π U+112D3 Khudawadi Letter Pha
- π U+112D4 Khudawadi Letter Ba
- π U+112D5 Khudawadi Letter Bba
- π U+112D6 Khudawadi Letter Bha
- π U+112D7 Khudawadi Letter Ma
- π U+112D9 Khudawadi Letter Ra
- π U+112DA Khudawadi Letter La
- π U+112DB Khudawadi Letter Va
- π U+112DC Khudawadi Letter Sha
- π U+112DD Khudawadi Letter Sa
- π U+112DE Khudawadi Letter Ha
- U+112DF Khudawadi Sign Anusvara
- U+112E0 Khudawadi Vowel Sign Aa
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+112D8?
- F0 91 8B 98 (hex), 4 bytes. In a URL it is %F0%91%8B%98.
- How do I write U+112D8 in JavaScript or Python?
- JavaScript: \u{112D8} or \uD804\uDED8. Python: \U000112D8.
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