π is the Unicode character HENTAIGANA LETTER SO-3, code point U+1B059 (decimal 110681) 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 99.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1B059 |
| Decimal | 110681 |
| UTF-8 bytes | F0 9B 81 99 |
| UTF-16 (big-endian) | D82C DC59 |
| UTF-32 | 0001B059 |
| HTML decimal | 𛁙 |
| HTML hex | 𛁙 |
| CSS | \1B059 |
| JavaScript | \u{1B059} or \uD82C\uDC59 |
| JSON | \uD82C\uDC59 |
| Python | \U0001B059 |
| Python by name | \N{HENTAIGANA LETTER SO-3} |
| Java, C# | \uD82C\uDC59 |
| Rust, Swift | \u{1B059} |
| Go, C, C++ | \U0001B059 |
| URL (percent-encoded) | %F0%9B%81%99 |
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 SO-3 |
| Code point | U+1B059 (decimal 110681) |
| 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+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
- π U+1B056 Hentaigana Letter Se-5
- π U+1B057 Hentaigana Letter So-1
- π U+1B058 Hentaigana Letter So-2
- π U+1B05A Hentaigana Letter So-4
- π U+1B05B Hentaigana Letter So-5
- π U+1B05C Hentaigana Letter So-6
- π U+1B05D Hentaigana Letter So-7
- π U+1B05E Hentaigana Letter Ta-1
- π U+1B05F Hentaigana Letter Ta-2
- π U+1B060 Hentaigana Letter Ta-3
- π‘ U+1B061 Hentaigana Letter Ta-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+1B059?
- F0 9B 81 99 (hex), 4 bytes. In a URL it is %F0%9B%81%99.
- How do I write U+1B059 in JavaScript or Python?
- JavaScript: \u{1B059} or \uD82C\uDC59. Python: \U0001B059.
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