π is the Unicode character KATAKANA LETTER ARCHAIC E, code point U+1B000 (decimal 110592) in the Kana Supplement block, added in Unicode 6.0. In HTML write 𛀀, and in UTF-8 it is the 4 bytes F0 9B 80 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B000 |
| Decimal | 110592 |
| UTF-8 bytes | F0 9B 80 80 |
| UTF-16 (big-endian) | D82C DC00 |
| UTF-32 | 0001B000 |
| HTML decimal | 𛀀 |
| HTML hex | 𛀀 |
| CSS | \1B000 |
| JavaScript | \u{1B000} or \uD82C\uDC00 |
| JSON | \uD82C\uDC00 |
| Python | \U0001B000 |
| Python by name | \N{KATAKANA LETTER ARCHAIC E} |
| Java, C# | \uD82C\uDC00 |
| Rust, Swift | \u{1B000} |
| Go, C, C++ | \U0001B000 |
| URL (percent-encoded) | %F0%9B%80%80 |
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 E |
| Code point | U+1B000 (decimal 110592) |
| Block | Kana Supplement (U+1B000βU+1B0FF) |
| General category | Lo: Other letter |
| Script | Katakana |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Kana Supplement
- π U+1B001 Hiragana Letter Archaic Ye
- π U+1B002 Hentaigana Letter A-1
- π U+1B003 Hentaigana Letter A-2
- π U+1B004 Hentaigana Letter A-3
- π U+1B005 Hentaigana Letter A-Wo
- π U+1B006 Hentaigana Letter I-1
- π U+1B007 Hentaigana Letter I-2
- π U+1B008 Hentaigana Letter I-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+1B000?
- F0 9B 80 80 (hex), 4 bytes. In a URL it is %F0%9B%80%80.
- How do I write U+1B000 in JavaScript or Python?
- JavaScript: \u{1B000} or \uD82C\uDC00. Python: \U0001B000.
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