π is the Unicode character GURUNG KHEMA LETTER GHA, code point U+16104 (decimal 90372) in the Gurung Khema block, added in Unicode 16.0. In HTML write 𖄄, and in UTF-8 it is the 4 bytes F0 96 84 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16104 |
| Decimal | 90372 |
| UTF-8 bytes | F0 96 84 84 |
| UTF-16 (big-endian) | D818 DD04 |
| UTF-32 | 00016104 |
| HTML decimal | 𖄄 |
| HTML hex | 𖄄 |
| CSS | \16104 |
| JavaScript | \u{16104} or \uD818\uDD04 |
| JSON | \uD818\uDD04 |
| Python | \U00016104 |
| Python by name | \N{GURUNG KHEMA LETTER GHA} |
| Java, C# | \uD818\uDD04 |
| Rust, Swift | \u{16104} |
| Go, C, C++ | \U00016104 |
| URL (percent-encoded) | %F0%96%84%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 | GURUNG KHEMA LETTER GHA |
| Code point | U+16104 (decimal 90372) |
| Block | Gurung Khema (U+16100βU+1613F) |
| General category | Lo: Other letter |
| Script | Gurung Khema |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 16.0 |
Nearby in Gurung Khema
- π U+16100 Gurung Khema Letter A
- π U+16101 Gurung Khema Letter Ka
- π U+16102 Gurung Khema Letter Kha
- π U+16103 Gurung Khema Letter Ga
- π U+16105 Gurung Khema Letter Nga
- π U+16106 Gurung Khema Letter Ca
- π U+16107 Gurung Khema Letter Cha
- π U+16108 Gurung Khema Letter Ja
- π U+16109 Gurung Khema Letter Jha
- π U+1610A Gurung Khema Letter Ha
- π U+1610B Gurung Khema Letter Tta
- π U+1610C Gurung Khema Letter Ttha
All 58 characters: Gurung Khema.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𖄄 (decimal) or 𖄄 (hex).
- What is the UTF-8 encoding of U+16104?
- F0 96 84 84 (hex), 4 bytes. In a URL it is %F0%96%84%84.
- How do I write U+16104 in JavaScript or Python?
- JavaScript: \u{16104} or \uD818\uDD04. Python: \U00016104.
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