π is the Unicode character HENTAIGANA LETTER SU-4, code point U+1B04D (decimal 110669) in the Kana Supplement block, added in Unicode 10.0. In HTML write 𛁍, and in UTF-8 it is the 4 bytes F0 9B 81 8D.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B04D |
| Decimal | 110669 |
| UTF-8 bytes | F0 9B 81 8D |
| UTF-16 (big-endian) | D82C DC4D |
| UTF-32 | 0001B04D |
| HTML decimal | 𛁍 |
| HTML hex | 𛁍 |
| CSS | \1B04D |
| JavaScript | \u{1B04D} or \uD82C\uDC4D |
| JSON | \uD82C\uDC4D |
| Python | \U0001B04D |
| Python by name | \N{HENTAIGANA LETTER SU-4} |
| Java, C# | \uD82C\uDC4D |
| Rust, Swift | \u{1B04D} |
| Go, C, C++ | \U0001B04D |
| URL (percent-encoded) | %F0%9B%81%8D |
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 SU-4 |
| Code point | U+1B04D (decimal 110669) |
| 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+1B045 Hentaigana Letter Si-2
- π U+1B046 Hentaigana Letter Si-3
- π U+1B047 Hentaigana Letter Si-4
- π U+1B048 Hentaigana Letter Si-5
- π U+1B049 Hentaigana Letter Si-6
- π U+1B04A Hentaigana Letter Su-1
- π U+1B04B Hentaigana Letter Su-2
- π U+1B04C Hentaigana Letter Su-3
- π U+1B04E Hentaigana Letter Su-5
- π U+1B04F Hentaigana Letter Su-6
- π U+1B050 Hentaigana Letter Su-7
- π U+1B051 Hentaigana Letter Su-8
- π U+1B052 Hentaigana Letter Se-1
- π U+1B053 Hentaigana Letter Se-2
- π U+1B054 Hentaigana Letter Se-3
- π U+1B055 Hentaigana Letter Se-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+1B04D?
- F0 9B 81 8D (hex), 4 bytes. In a URL it is %F0%9B%81%8D.
- How do I write U+1B04D in JavaScript or Python?
- JavaScript: \u{1B04D} or \uD82C\uDC4D. Python: \U0001B04D.
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