π is the Unicode character CYRILLIC SUBSCRIPT SMALL LETTER IE, code point U+1E056 (decimal 122966) in the Cyrillic Extended-D block, added in Unicode 15.0. In HTML write 𞁖, and in UTF-8 it is the 4 bytes F0 9E 81 96.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E056 |
| Decimal | 122966 |
| UTF-8 bytes | F0 9E 81 96 |
| UTF-16 (big-endian) | D838 DC56 |
| UTF-32 | 0001E056 |
| HTML decimal | 𞁖 |
| HTML hex | 𞁖 |
| CSS | \1E056 |
| JavaScript | \u{1E056} or \uD838\uDC56 |
| JSON | \uD838\uDC56 |
| Python | \U0001E056 |
| Python by name | \N{CYRILLIC SUBSCRIPT SMALL LETTER IE} |
| Java, C# | \uD838\uDC56 |
| Rust, Swift | \u{1E056} |
| Go, C, C++ | \U0001E056 |
| URL (percent-encoded) | %F0%9E%81%96 |
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 | CYRILLIC SUBSCRIPT SMALL LETTER IE |
| Code point | U+1E056 (decimal 122966) |
| Block | Cyrillic Extended-D (U+1E030βU+1E08F) |
| General category | Lm: Modifier letter |
| Script | Cyrillic |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 15.0 |
Decomposition
CYRILLIC SUBSCRIPT SMALL LETTER IE has a compatibility decomposition (sub) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Cyrillic Extended-D
- π U+1E04E Modifier Letter Cyrillic Small Barred O
- π U+1E04F Modifier Letter Cyrillic Small Straight U
- π U+1E050 Modifier Letter Cyrillic Small Palochka
- π U+1E051 Cyrillic Subscript Small Letter A
- π U+1E052 Cyrillic Subscript Small Letter Be
- π U+1E053 Cyrillic Subscript Small Letter Ve
- π U+1E054 Cyrillic Subscript Small Letter Ghe
- π U+1E055 Cyrillic Subscript Small Letter De
- π U+1E057 Cyrillic Subscript Small Letter Zhe
- π U+1E058 Cyrillic Subscript Small Letter Ze
- π U+1E059 Cyrillic Subscript Small Letter I
- π U+1E05A Cyrillic Subscript Small Letter Ka
- π U+1E05B Cyrillic Subscript Small Letter El
- π U+1E05C Cyrillic Subscript Small Letter O
- π U+1E05D Cyrillic Subscript Small Letter Pe
- π U+1E05E Cyrillic Subscript Small Letter Es
All 63 characters: Cyrillic Extended-D.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𞁖 (decimal) or 𞁖 (hex).
- What is the UTF-8 encoding of U+1E056?
- F0 9E 81 96 (hex), 4 bytes. In a URL it is %F0%9E%81%96.
- How do I write U+1E056 in JavaScript or Python?
- JavaScript: \u{1E056} or \uD838\uDC56. Python: \U0001E056.
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