π is the Unicode character HENTAIGANA LETTER MU-2, code point U+1B0D1 (decimal 110801) 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 91.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B0D1 |
| Decimal | 110801 |
| UTF-8 bytes | F0 9B 83 91 |
| UTF-16 (big-endian) | D82C DCD1 |
| UTF-32 | 0001B0D1 |
| HTML decimal | 𛃑 |
| HTML hex | 𛃑 |
| CSS | \1B0D1 |
| JavaScript | \u{1B0D1} or \uD82C\uDCD1 |
| JSON | \uD82C\uDCD1 |
| Python | \U0001B0D1 |
| Python by name | \N{HENTAIGANA LETTER MU-2} |
| Java, C# | \uD82C\uDCD1 |
| Rust, Swift | \u{1B0D1} |
| Go, C, C++ | \U0001B0D1 |
| URL (percent-encoded) | %F0%9B%83%91 |
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 MU-2 |
| Code point | U+1B0D1 (decimal 110801) |
| 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+1B0C9 Hentaigana Letter Mi-1
- π U+1B0CA Hentaigana Letter Mi-2
- π U+1B0CB Hentaigana Letter Mi-3
- π U+1B0CC Hentaigana Letter Mi-4
- π U+1B0CD Hentaigana Letter Mi-5
- π U+1B0CE Hentaigana Letter Mi-6
- π U+1B0CF Hentaigana Letter Mi-7
- π U+1B0D0 Hentaigana Letter Mu-1
- π U+1B0D2 Hentaigana Letter Mu-3
- π U+1B0D3 Hentaigana Letter Mu-4
- π U+1B0D4 Hentaigana Letter Me-1
- π U+1B0D5 Hentaigana Letter Me-2
- π U+1B0D6 Hentaigana Letter Me-Ma
- π U+1B0D7 Hentaigana Letter Mo-1
- π U+1B0D8 Hentaigana Letter Mo-2
- π U+1B0D9 Hentaigana Letter Mo-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+1B0D1?
- F0 9B 83 91 (hex), 4 bytes. In a URL it is %F0%9B%83%91.
- How do I write U+1B0D1 in JavaScript or Python?
- JavaScript: \u{1B0D1} or \uD82C\uDCD1. Python: \U0001B0D1.
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