π is the Unicode character HENTAIGANA LETTER MA-3, code point U+1B0C4 (decimal 110788) in the Kana Supplement block, added in Unicode 10.0. In HTML write 𛃄, and in UTF-8 it is the 4 bytes F0 9B 83 84.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B0C4 |
| Decimal | 110788 |
| UTF-8 bytes | F0 9B 83 84 |
| UTF-16 (big-endian) | D82C DCC4 |
| UTF-32 | 0001B0C4 |
| HTML decimal | 𛃄 |
| HTML hex | 𛃄 |
| CSS | \1B0C4 |
| JavaScript | \u{1B0C4} or \uD82C\uDCC4 |
| JSON | \uD82C\uDCC4 |
| Python | \U0001B0C4 |
| Python by name | \N{HENTAIGANA LETTER MA-3} |
| Java, C# | \uD82C\uDCC4 |
| Rust, Swift | \u{1B0C4} |
| Go, C, C++ | \U0001B0C4 |
| URL (percent-encoded) | %F0%9B%83%84 |
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 MA-3 |
| Code point | U+1B0C4 (decimal 110788) |
| 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+1B0BC Hentaigana Letter Ho-3
- π½ U+1B0BD Hentaigana Letter Ho-4
- πΎ U+1B0BE Hentaigana Letter Ho-5
- πΏ U+1B0BF Hentaigana Letter Ho-6
- π U+1B0C0 Hentaigana Letter Ho-7
- π U+1B0C1 Hentaigana Letter Ho-8
- π U+1B0C2 Hentaigana Letter Ma-1
- π U+1B0C3 Hentaigana Letter Ma-2
- π U+1B0C5 Hentaigana Letter Ma-4
- π U+1B0C6 Hentaigana Letter Ma-5
- π U+1B0C7 Hentaigana Letter Ma-6
- π U+1B0C8 Hentaigana Letter Ma-7
- π U+1B0C9 Hentaigana Letter Mi-1
- π U+1B0CA Hentaigana Letter Mi-2
- π U+1B0CB Hentaigana Letter Mi-3
- π U+1B0CC Hentaigana Letter Mi-4
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+1B0C4?
- F0 9B 83 84 (hex), 4 bytes. In a URL it is %F0%9B%83%84.
- How do I write U+1B0C4 in JavaScript or Python?
- JavaScript: \u{1B0C4} or \uD82C\uDCC4. Python: \U0001B0C4.
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