π is the Unicode character HENTAIGANA LETTER KA-4, code point U+1B01A (decimal 110618) in the Kana Supplement block, added in Unicode 10.0. In HTML write 𛀚, and in UTF-8 it is the 4 bytes F0 9B 80 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B01A |
| Decimal | 110618 |
| UTF-8 bytes | F0 9B 80 9A |
| UTF-16 (big-endian) | D82C DC1A |
| UTF-32 | 0001B01A |
| HTML decimal | 𛀚 |
| HTML hex | 𛀚 |
| CSS | \1B01A |
| JavaScript | \u{1B01A} or \uD82C\uDC1A |
| JSON | \uD82C\uDC1A |
| Python | \U0001B01A |
| Python by name | \N{HENTAIGANA LETTER KA-4} |
| Java, C# | \uD82C\uDC1A |
| Rust, Swift | \u{1B01A} |
| Go, C, C++ | \U0001B01A |
| URL (percent-encoded) | %F0%9B%80%9A |
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 KA-4 |
| Code point | U+1B01A (decimal 110618) |
| 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+1B012 Hentaigana Letter E-5
- π U+1B013 Hentaigana Letter E-6
- π U+1B014 Hentaigana Letter O-1
- π U+1B015 Hentaigana Letter O-2
- π U+1B016 Hentaigana Letter O-3
- π U+1B017 Hentaigana Letter Ka-1
- π U+1B018 Hentaigana Letter Ka-2
- π U+1B019 Hentaigana Letter Ka-3
- π U+1B01B Hentaigana Letter Ka-5
- π U+1B01C Hentaigana Letter Ka-6
- π U+1B01D Hentaigana Letter Ka-7
- π U+1B01E Hentaigana Letter Ka-8
- π U+1B01F Hentaigana Letter Ka-9
- π U+1B020 Hentaigana Letter Ka-10
- π‘ U+1B021 Hentaigana Letter Ka-11
- π’ U+1B022 Hentaigana Letter Ka-Ke
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+1B01A?
- F0 9B 80 9A (hex), 4 bytes. In a URL it is %F0%9B%80%9A.
- How do I write U+1B01A in JavaScript or Python?
- JavaScript: \u{1B01A} or \uD82C\uDC1A. Python: \U0001B01A.
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