π is the Unicode character HENTAIGANA LETTER NO-2, code point U+1B09A (decimal 110746) in the Kana Supplement block, added in Unicode 10.0. In HTML write 𛂚, and in UTF-8 it is the 4 bytes F0 9B 82 9A.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B09A |
| Decimal | 110746 |
| UTF-8 bytes | F0 9B 82 9A |
| UTF-16 (big-endian) | D82C DC9A |
| UTF-32 | 0001B09A |
| HTML decimal | 𛂚 |
| HTML hex | 𛂚 |
| CSS | \1B09A |
| JavaScript | \u{1B09A} or \uD82C\uDC9A |
| JSON | \uD82C\uDC9A |
| Python | \U0001B09A |
| Python by name | \N{HENTAIGANA LETTER NO-2} |
| Java, C# | \uD82C\uDC9A |
| Rust, Swift | \u{1B09A} |
| Go, C, C++ | \U0001B09A |
| URL (percent-encoded) | %F0%9B%82%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 NO-2 |
| Code point | U+1B09A (decimal 110746) |
| 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+1B092 Hentaigana Letter Ne-1
- π U+1B093 Hentaigana Letter Ne-2
- π U+1B094 Hentaigana Letter Ne-3
- π U+1B095 Hentaigana Letter Ne-4
- π U+1B096 Hentaigana Letter Ne-5
- π U+1B097 Hentaigana Letter Ne-6
- π U+1B098 Hentaigana Letter Ne-Ko
- π U+1B099 Hentaigana Letter No-1
- π U+1B09B Hentaigana Letter No-3
- π U+1B09C Hentaigana Letter No-4
- π U+1B09D Hentaigana Letter No-5
- π U+1B09E Hentaigana Letter Ha-1
- π U+1B09F Hentaigana Letter Ha-2
- π U+1B0A0 Hentaigana Letter Ha-3
- π‘ U+1B0A1 Hentaigana Letter Ha-4
- π’ U+1B0A2 Hentaigana Letter Ha-5
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+1B09A?
- F0 9B 82 9A (hex), 4 bytes. In a URL it is %F0%9B%82%9A.
- How do I write U+1B09A in JavaScript or Python?
- JavaScript: \u{1B09A} or \uD82C\uDC9A. Python: \U0001B09A.
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