π is the Unicode character HENTAIGANA LETTER WI-2, code point U+1B10E (decimal 110862) 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 8E.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B10E |
| Decimal | 110862 |
| UTF-8 bytes | F0 9B 84 8E |
| UTF-16 (big-endian) | D82C DD0E |
| UTF-32 | 0001B10E |
| HTML decimal | 𛄎 |
| HTML hex | 𛄎 |
| CSS | \1B10E |
| JavaScript | \u{1B10E} or \uD82C\uDD0E |
| JSON | \uD82C\uDD0E |
| Python | \U0001B10E |
| Python by name | \N{HENTAIGANA LETTER WI-2} |
| Java, C# | \uD82C\uDD0E |
| Rust, Swift | \u{1B10E} |
| Go, C, C++ | \U0001B10E |
| URL (percent-encoded) | %F0%9B%84%8E |
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 WI-2 |
| Code point | U+1B10E (decimal 110862) |
| 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+1B106 Hentaigana Letter Ro-5
- π U+1B107 Hentaigana Letter Ro-6
- π U+1B108 Hentaigana Letter Wa-1
- π 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+1B10F Hentaigana Letter Wi-3
- π U+1B110 Hentaigana Letter Wi-4
- π U+1B111 Hentaigana Letter Wi-5
- π U+1B112 Hentaigana Letter We-1
- π U+1B113 Hentaigana Letter We-2
- π U+1B114 Hentaigana Letter We-3
- π U+1B115 Hentaigana Letter We-4
- π U+1B116 Hentaigana Letter Wo-1
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+1B10E?
- F0 9B 84 8E (hex), 4 bytes. In a URL it is %F0%9B%84%8E.
- How do I write U+1B10E in JavaScript or Python?
- JavaScript: \u{1B10E} or \uD82C\uDD0E. Python: \U0001B10E.
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