π is the Unicode character HENTAIGANA LETTER NI-6, code point U+1B08C (decimal 110732) in the Kana Supplement block, added in Unicode 10.0. In HTML write 𛂌, and in UTF-8 it is the 4 bytes F0 9B 82 8C.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B08C |
| Decimal | 110732 |
| UTF-8 bytes | F0 9B 82 8C |
| UTF-16 (big-endian) | D82C DC8C |
| UTF-32 | 0001B08C |
| HTML decimal | 𛂌 |
| HTML hex | 𛂌 |
| CSS | \1B08C |
| JavaScript | \u{1B08C} or \uD82C\uDC8C |
| JSON | \uD82C\uDC8C |
| Python | \U0001B08C |
| Python by name | \N{HENTAIGANA LETTER NI-6} |
| Java, C# | \uD82C\uDC8C |
| Rust, Swift | \u{1B08C} |
| Go, C, C++ | \U0001B08C |
| URL (percent-encoded) | %F0%9B%82%8C |
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 NI-6 |
| Code point | U+1B08C (decimal 110732) |
| Block | Kana Supplement (U+1B000βU+1B0FF) |
| 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 Supplement
- π U+1B084 Hentaigana Letter Na-7
- π U+1B085 Hentaigana Letter Na-8
- π U+1B086 Hentaigana Letter Na-9
- π U+1B087 Hentaigana Letter Ni-1
- π U+1B088 Hentaigana Letter Ni-2
- π U+1B089 Hentaigana Letter Ni-3
- π U+1B08A Hentaigana Letter Ni-4
- π U+1B08B Hentaigana Letter Ni-5
- π U+1B08D Hentaigana Letter Ni-7
- π U+1B08E Hentaigana Letter Ni-Te
- π U+1B08F Hentaigana Letter Nu-1
- π U+1B090 Hentaigana Letter Nu-2
- π U+1B091 Hentaigana Letter Nu-3
- π U+1B092 Hentaigana Letter Ne-1
- π U+1B093 Hentaigana Letter Ne-2
- π U+1B094 Hentaigana Letter Ne-3
All 256 characters: Kana Supplement.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𛂌 (decimal) or 𛂌 (hex).
- What is the UTF-8 encoding of U+1B08C?
- F0 9B 82 8C (hex), 4 bytes. In a URL it is %F0%9B%82%8C.
- How do I write U+1B08C in JavaScript or Python?
- JavaScript: \u{1B08C} or \uD82C\uDC8C. Python: \U0001B08C.
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