π is the Unicode character GURUNG KHEMA LETTER BHA, code point U+16118 (decimal 90392) 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 98.
Codes
| Where | How to write it |
|---|---|
| Code point | U+16118 |
| Decimal | 90392 |
| UTF-8 bytes | F0 96 84 98 |
| UTF-16 (big-endian) | D818 DD18 |
| UTF-32 | 00016118 |
| HTML decimal | 𖄘 |
| HTML hex | 𖄘 |
| CSS | \16118 |
| JavaScript | \u{16118} or \uD818\uDD18 |
| JSON | \uD818\uDD18 |
| Python | \U00016118 |
| Python by name | \N{GURUNG KHEMA LETTER BHA} |
| Java, C# | \uD818\uDD18 |
| Rust, Swift | \u{16118} |
| Go, C, C++ | \U00016118 |
| URL (percent-encoded) | %F0%96%84%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 | GURUNG KHEMA LETTER BHA |
| Code point | U+16118 (decimal 90392) |
| 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+16110 Gurung Khema Letter Ta
- π U+16111 Gurung Khema Letter Tha
- π U+16112 Gurung Khema Letter Da
- π U+16113 Gurung Khema Letter Dha
- π U+16114 Gurung Khema Letter Na
- π U+16115 Gurung Khema Letter Pa
- π U+16116 Gurung Khema Letter Pha
- π U+16117 Gurung Khema Letter Ba
- π U+16119 Gurung Khema Letter Ma
- π U+1611A Gurung Khema Letter Ya
- π U+1611B Gurung Khema Letter Ra
- π U+1611C Gurung Khema Letter La
- π U+1611D Gurung Khema Letter Sa
- U+1611E Gurung Khema Vowel Sign Aa
- U+1611F Gurung Khema Vowel Sign I
- U+16120 Gurung Khema Vowel Sign Ii
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+16118?
- F0 96 84 98 (hex), 4 bytes. In a URL it is %F0%96%84%98.
- How do I write U+16118 in JavaScript or Python?
- JavaScript: \u{16118} or \uD818\uDD18. Python: \U00016118.
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