π₯ is the Unicode character MUSICAL SYMBOL DRUM CLEF-1, code point U+1D125 (decimal 119077) in the Musical Symbols block, added in Unicode 3.1. In HTML write 𝄥, and in UTF-8 it is the 4 bytes F0 9D 84 A5.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D125 |
| Decimal | 119077 |
| UTF-8 bytes | F0 9D 84 A5 |
| UTF-16 (big-endian) | D834 DD25 |
| UTF-32 | 0001D125 |
| HTML decimal | 𝄥 |
| HTML hex | 𝄥 |
| CSS | \1D125 |
| JavaScript | \u{1D125} or \uD834\uDD25 |
| JSON | \uD834\uDD25 |
| Python | \U0001D125 |
| Python by name | \N{MUSICAL SYMBOL DRUM CLEF-1} |
| Java, C# | \uD834\uDD25 |
| Rust, Swift | \u{1D125} |
| Go, C, C++ | \U0001D125 |
| URL (percent-encoded) | %F0%9D%84%A5 |
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 DRUM CLEF-1 |
| Code point | U+1D125 (decimal 119077) |
| 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 |
Nearby in Musical Symbols
- π U+1D11D Musical Symbol Four-String Fretboard
- π U+1D11E Musical Symbol G Clef
- π U+1D11F Musical Symbol G Clef Ottava Alta
- π U+1D120 Musical Symbol G Clef Ottava Bassa
- π‘ U+1D121 Musical Symbol C Clef
- π’ U+1D122 Musical Symbol F Clef
- π£ U+1D123 Musical Symbol F Clef Ottava Alta
- π€ U+1D124 Musical Symbol F Clef Ottava Bassa
- π¦ U+1D126 Musical Symbol Drum Clef-2
- U+1D127 Musical Symbol Combining Stress
- U+1D128 Musical Symbol Combining Unstress
- π© U+1D129 Musical Symbol Multiple Measure Rest
- πͺ U+1D12A Musical Symbol Double Sharp
- π« U+1D12B Musical Symbol Double Flat
- π¬ U+1D12C Musical Symbol Flat Up
- π U+1D12D Musical Symbol Flat Down
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+1D125?
- F0 9D 84 A5 (hex), 4 bytes. In a URL it is %F0%9D%84%A5.
- How do I write U+1D125 in JavaScript or Python?
- JavaScript: \u{1D125} or \uD834\uDD25. Python: \U0001D125.
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