π is the Unicode character HENTAIGANA LETTER WA-1, code point U+1B108 (decimal 110856) in the Kana Extended-A block, added in Unicode 10.0. In HTML write 𛄈, and in UTF-8 it is the 4 bytes F0 9B 84 88.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B108 |
| Decimal | 110856 |
| UTF-8 bytes | F0 9B 84 88 |
| UTF-16 (big-endian) | D82C DD08 |
| UTF-32 | 0001B108 |
| HTML decimal | 𛄈 |
| HTML hex | 𛄈 |
| CSS | \1B108 |
| JavaScript | \u{1B108} or \uD82C\uDD08 |
| JSON | \uD82C\uDD08 |
| Python | \U0001B108 |
| Python by name | \N{HENTAIGANA LETTER WA-1} |
| Java, C# | \uD82C\uDD08 |
| Rust, Swift | \u{1B108} |
| Go, C, C++ | \U0001B108 |
| URL (percent-encoded) | %F0%9B%84%88 |
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 | HENTAIGANA LETTER WA-1 |
| Code point | U+1B108 (decimal 110856) |
| Block | Kana Extended-A (U+1B100βU+1B12F) |
| General category | Lo: Other letter |
| Script | Hiragana |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 10.0 |
Nearby in Kana Extended-A
- π U+1B100 Hentaigana Letter Re-3
- π U+1B101 Hentaigana Letter Re-4
- π U+1B102 Hentaigana Letter Ro-1
- π U+1B103 Hentaigana Letter Ro-2
- π U+1B104 Hentaigana Letter Ro-3
- π U+1B105 Hentaigana Letter Ro-4
- π U+1B106 Hentaigana Letter Ro-5
- π U+1B107 Hentaigana Letter Ro-6
- π U+1B109 Hentaigana Letter Wa-2
- π U+1B10A Hentaigana Letter Wa-3
- π U+1B10B Hentaigana Letter Wa-4
- π U+1B10C Hentaigana Letter Wa-5
- π U+1B10D Hentaigana Letter Wi-1
- π U+1B10E Hentaigana Letter Wi-2
- π U+1B10F Hentaigana Letter Wi-3
- π U+1B110 Hentaigana Letter Wi-4
All 41 characters: Kana Extended-A.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𛄈 (decimal) or 𛄈 (hex).
- What is the UTF-8 encoding of U+1B108?
- F0 9B 84 88 (hex), 4 bytes. In a URL it is %F0%9B%84%88.
- How do I write U+1B108 in JavaScript or Python?
- JavaScript: \u{1B108} or \uD82C\uDD08. Python: \U0001B108.
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