π is the Unicode character KATAKANA LETTER ARCHAIC YI, code point U+1B120 (decimal 110880) in the Kana Extended-A block, added in Unicode 14.0. In HTML write 𛄠, and in UTF-8 it is the 4 bytes F0 9B 84 A0.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B120 |
| Decimal | 110880 |
| UTF-8 bytes | F0 9B 84 A0 |
| UTF-16 (big-endian) | D82C DD20 |
| UTF-32 | 0001B120 |
| HTML decimal | 𛄠 |
| HTML hex | 𛄠 |
| CSS | \1B120 |
| JavaScript | \u{1B120} or \uD82C\uDD20 |
| JSON | \uD82C\uDD20 |
| Python | \U0001B120 |
| Python by name | \N{KATAKANA LETTER ARCHAIC YI} |
| Java, C# | \uD82C\uDD20 |
| Rust, Swift | \u{1B120} |
| Go, C, C++ | \U0001B120 |
| URL (percent-encoded) | %F0%9B%84%A0 |
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 | KATAKANA LETTER ARCHAIC YI |
| Code point | U+1B120 (decimal 110880) |
| Block | Kana Extended-A (U+1B100βU+1B12F) |
| General category | Lo: Other letter |
| Script | Katakana |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 14.0 |
Nearby in Kana Extended-A
- π 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
- π‘ U+1B121 Katakana Letter Archaic Ye
- π’ U+1B122 Katakana Letter Archaic Wu
- π£ U+1B123 Hiragana Digraph Koto
- π€ U+1B124 Katakana Digraph Toki
- π₯ U+1B125 Katakana Digraph Tote
- π¦ U+1B126 Katakana Digraph Yori
- π§ U+1B127 Katakana Letter Alternate Ne
- π¨ U+1B128 Katakana Letter Alternate Wi
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+1B120?
- F0 9B 84 A0 (hex), 4 bytes. In a URL it is %F0%9B%84%A0.
- How do I write U+1B120 in JavaScript or Python?
- JavaScript: \u{1B120} or \uD82C\uDD20. Python: \U0001B120.
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