π is the Unicode character MODIFIER LETTER CYRILLIC SMALL U, code point U+1E041 (decimal 122945) 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 81.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1E041 |
| Decimal | 122945 |
| UTF-8 bytes | F0 9E 81 81 |
| UTF-16 (big-endian) | D838 DC41 |
| UTF-32 | 0001E041 |
| HTML decimal | 𞁁 |
| HTML hex | 𞁁 |
| CSS | \1E041 |
| JavaScript | \u{1E041} or \uD838\uDC41 |
| JSON | \uD838\uDC41 |
| Python | \U0001E041 |
| Python by name | \N{MODIFIER LETTER CYRILLIC SMALL U} |
| Java, C# | \uD838\uDC41 |
| Rust, Swift | \u{1E041} |
| Go, C, C++ | \U0001E041 |
| URL (percent-encoded) | %F0%9E%81%81 |
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 | MODIFIER LETTER CYRILLIC SMALL U |
| Code point | U+1E041 (decimal 122945) |
| 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
MODIFIER LETTER CYRILLIC SMALL U has a compatibility decomposition (super) 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+1E039 Modifier Letter Cyrillic Small Ka
- πΊ U+1E03A Modifier Letter Cyrillic Small El
- π» U+1E03B Modifier Letter Cyrillic Small Em
- πΌ U+1E03C Modifier Letter Cyrillic Small O
- π½ U+1E03D Modifier Letter Cyrillic Small Pe
- πΎ U+1E03E Modifier Letter Cyrillic Small Er
- πΏ U+1E03F Modifier Letter Cyrillic Small Es
- π U+1E040 Modifier Letter Cyrillic Small Te
- π U+1E042 Modifier Letter Cyrillic Small Ef
- π U+1E043 Modifier Letter Cyrillic Small Ha
- π U+1E044 Modifier Letter Cyrillic Small Tse
- π U+1E045 Modifier Letter Cyrillic Small Che
- π U+1E046 Modifier Letter Cyrillic Small Sha
- π U+1E047 Modifier Letter Cyrillic Small Yeru
- π U+1E048 Modifier Letter Cyrillic Small E
- π U+1E049 Modifier Letter Cyrillic Small Yu
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+1E041?
- F0 9E 81 81 (hex), 4 bytes. In a URL it is %F0%9E%81%81.
- How do I write U+1E041 in JavaScript or Python?
- JavaScript: \u{1E041} or \uD838\uDC41. Python: \U0001E041.
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