π is the Unicode character GURUNG KHEMA LETTER KA, code point U+16101 (decimal 90369) 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 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16101 |
| Decimal | 90369 |
| UTF-8 bytes | F0 96 84 81 |
| UTF-16 (big-endian) | D818 DD01 |
| UTF-32 | 00016101 |
| HTML decimal | 𖄁 |
| HTML hex | 𖄁 |
| CSS | \16101 |
| JavaScript | \u{16101} or \uD818\uDD01 |
| JSON | \uD818\uDD01 |
| Python | \U00016101 |
| Python by name | \N{GURUNG KHEMA LETTER KA} |
| Java, C# | \uD818\uDD01 |
| Rust, Swift | \u{16101} |
| Go, C, C++ | \U00016101 |
| URL (percent-encoded) | %F0%96%84%81 |
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 KA |
| Code point | U+16101 (decimal 90369) |
| 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+16102 Gurung Khema Letter Kha
- π U+16103 Gurung Khema Letter Ga
- π U+16104 Gurung Khema Letter Gha
- π 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
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+16101?
- F0 96 84 81 (hex), 4 bytes. In a URL it is %F0%96%84%81.
- How do I write U+16101 in JavaScript or Python?
- JavaScript: \u{16101} or \uD818\uDD01. Python: \U00016101.
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