π is the Unicode character HENTAIGANA LETTER WO-2, code point U+1B117 (decimal 110871) 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 97.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B117 |
| Decimal | 110871 |
| UTF-8 bytes | F0 9B 84 97 |
| UTF-16 (big-endian) | D82C DD17 |
| UTF-32 | 0001B117 |
| HTML decimal | 𛄗 |
| HTML hex | 𛄗 |
| CSS | \1B117 |
| JavaScript | \u{1B117} or \uD82C\uDD17 |
| JSON | \uD82C\uDD17 |
| Python | \U0001B117 |
| Python by name | \N{HENTAIGANA LETTER WO-2} |
| Java, C# | \uD82C\uDD17 |
| Rust, Swift | \u{1B117} |
| Go, C, C++ | \U0001B117 |
| URL (percent-encoded) | %F0%9B%84%97 |
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 WO-2 |
| Code point | U+1B117 (decimal 110871) |
| 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+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
- π U+1B118 Hentaigana Letter Wo-3
- π U+1B119 Hentaigana Letter Wo-4
- π U+1B11A Hentaigana Letter Wo-5
- π U+1B11B Hentaigana Letter Wo-6
- π U+1B11C Hentaigana Letter Wo-7
- π U+1B11D Hentaigana Letter N-Mu-Mo-1
- π U+1B11E Hentaigana Letter N-Mu-Mo-2
- π U+1B11F Hiragana Letter Archaic Wu
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+1B117?
- F0 9B 84 97 (hex), 4 bytes. In a URL it is %F0%9B%84%97.
- How do I write U+1B117 in JavaScript or Python?
- JavaScript: \u{1B117} or \uD82C\uDD17. Python: \U0001B117.
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