π» is the Unicode character MUSICAL SYMBOL DIGIT SEVEN WITH STROKE, code point U+1D1FB (decimal 119291) in the Musical Symbols block, added in Unicode 18.0. In HTML write 𝇻, and in UTF-8 it is the 4 bytes F0 9D 87 BB.
Codes
| Where | How to write it |
|---|---|
| Code point | U+1D1FB |
| Decimal | 119291 |
| UTF-8 bytes | F0 9D 87 BB |
| UTF-16 (big-endian) | D834 DDFB |
| UTF-32 | 0001D1FB |
| HTML decimal | 𝇻 |
| HTML hex | 𝇻 |
| CSS | \1D1FB |
| JavaScript | \u{1D1FB} or \uD834\uDDFB |
| JSON | \uD834\uDDFB |
| Python | \U0001D1FB |
| Python by name | \N{MUSICAL SYMBOL DIGIT SEVEN WITH STROKE} |
| Java, C# | \uD834\uDDFB |
| Rust, Swift | \u{1D1FB} |
| Go, C, C++ | \U0001D1FB |
| URL (percent-encoded) | %F0%9D%87%BB |
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 DIGIT SEVEN WITH STROKE |
| Code point | U+1D1FB (decimal 119291) |
| 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 | 18.0 |
Nearby in Musical Symbols
- π³ U+1D1F3 Musical Symbol Reversed Flat Up
- π΄ U+1D1F4 Musical Symbol Reversed Flat Down
- π΅ U+1D1F5 Musical Symbol Reversed Flat And Flat Up
- πΆ U+1D1F6 Musical Symbol Reversed Flat And Flat Down
- π· U+1D1F7 Musical Symbol Digit Two With Stroke
- πΈ U+1D1F8 Musical Symbol Digit Four With Stroke
- πΉ U+1D1F9 Musical Symbol Digit Five With Stroke
- πΊ U+1D1FA Musical Symbol Digit Six With Stroke
- πΌ U+1D1FC Musical Symbol Digit Nine With Stroke
- π½ U+1D1FD Musical Symbol Digit Five With Low Stroke
- πΎ U+1D1FE Musical Symbol Digit Seven With Low Stroke
- πΏ U+1D1FF Musical Symbol Longa Rest
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+1D1FB?
- F0 9D 87 BB (hex), 4 bytes. In a URL it is %F0%9D%87%BB.
- How do I write U+1D1FB in JavaScript or Python?
- JavaScript: \u{1D1FB} or \uD834\uDDFB. Python: \U0001D1FB.
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