π is the Unicode character MUSICAL SYMBOL FUSA BLACK, code point U+1D1C0 (decimal 119232) in the Musical Symbols block, added in Unicode 3.1. In HTML write 𝆺𝅥𝅯, and in UTF-8 it is the 4 bytes F0 9D 87 80.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D1C0 |
| Decimal | 119232 |
| UTF-8 bytes | F0 9D 87 80 |
| UTF-16 (big-endian) | D834 DDC0 |
| UTF-32 | 0001D1C0 |
| HTML decimal | 𝆺𝅥𝅯 |
| HTML hex | 𝆺𝅥𝅯 |
| CSS | \1D1C0 |
| JavaScript | \u{1D1C0} or \uD834\uDDC0 |
| JSON | \uD834\uDDC0 |
| Python | \U0001D1C0 |
| Python by name | \N{MUSICAL SYMBOL FUSA BLACK} |
| Java, C# | \uD834\uDDC0 |
| Rust, Swift | \u{1D1C0} |
| Go, C, C++ | \U0001D1C0 |
| URL (percent-encoded) | %F0%9D%87%80 |
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 | MUSICAL SYMBOL FUSA BLACK |
| Code point | U+1D1C0 (decimal 119232) |
| Block | Musical Symbols (U+1D100βU+1D1FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | L: Left-to-right |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.1 |
Decomposition
MUSICAL SYMBOL FUSA BLACK is canonically equivalent to the sequence below. Normalising text to NFD splits it into these parts; NFC joins them back into U+1D1C0. Search and comparison should normalise first, or the two spellings will not match.
Nearby in Musical Symbols
- πΈ U+1D1B8 Musical Symbol Brevis
- πΉ U+1D1B9 Musical Symbol Semibrevis White
- πΊ U+1D1BA Musical Symbol Semibrevis Black
- π» U+1D1BB Musical Symbol Minima
- πΌ U+1D1BC Musical Symbol Minima Black
- π½ U+1D1BD Musical Symbol Semiminima White
- πΎ U+1D1BE Musical Symbol Semiminima Black
- πΏ U+1D1BF Musical Symbol Fusa White
- π U+1D1C1 Musical Symbol Longa Perfecta Rest
- π U+1D1C2 Musical Symbol Longa Imperfecta Rest
- π U+1D1C3 Musical Symbol Brevis Rest
- π U+1D1C4 Musical Symbol Semibrevis Rest
- π U+1D1C5 Musical Symbol Minima Rest
- π U+1D1C6 Musical Symbol Semiminima Rest
- π U+1D1C7 Musical Symbol Tempus Perfectum Cum Prolatione Perfecta
- π U+1D1C8 Musical Symbol Tempus Perfectum Cum Prolatione Imperfecta
All 256 characters: Musical Symbols.
Official reference
Questions people ask
- What is the HTML code for π?
- Use 𝆺𝅥𝅯 (decimal) or 𝆺𝅥𝅯 (hex).
- What is the UTF-8 encoding of U+1D1C0?
- F0 9D 87 80 (hex), 4 bytes. In a URL it is %F0%9D%87%80.
- How do I write U+1D1C0 in JavaScript or Python?
- JavaScript: \u{1D1C0} or \uD834\uDDC0. Python: \U0001D1C0.
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