♬ is the Unicode character BEAMED SIXTEENTH NOTES, code point U+266C (decimal 9836) in the Miscellaneous Symbols block, added in Unicode 1.1. In HTML write ♬, and in UTF-8 it is the 3 bytes E2 99 AC.
Codes
| Where | How to write it |
|---|---|
| Code point | U+266C |
| Decimal | 9836 |
| UTF-8 bytes | E2 99 AC |
| UTF-16 (big-endian) | 266C |
| UTF-32 | 0000266C |
| HTML decimal | ♬ |
| HTML hex | ♬ |
| CSS | \266C |
| JavaScript | \u266C |
| JSON | \u266C |
| Python | \u266C |
| Python by name | \N{BEAMED SIXTEENTH NOTES} |
| Java, C# | \u266C |
| Rust, Swift | \u{266C} |
| Go, C, C++ | \u266C |
| URL (percent-encoded) | %E2%99%AC |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | BEAMED SIXTEENTH NOTES |
| Code point | U+266C (decimal 9836) |
| Block | Miscellaneous Symbols (U+2600–U+26FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Miscellaneous Symbols
- ♤ U+2664 White Spade Suit
- ♥ U+2665 Heart suit
- ♦ U+2666 Diamond suit
- ♧ U+2667 White Club Suit
- ♨ U+2668 Hot springs
- ♩ U+2669 Quarter Note
- ♪ U+266A Eighth Note
- ♫ U+266B Beamed Eighth Notes
- ♭ U+266D Music Flat Sign
- ♮ U+266E Music Natural Sign
- ♯ U+266F Music Sharp Sign
- ♰ U+2670 West Syriac Cross
- ♱ U+2671 East Syriac Cross
- ♲ U+2672 Universal Recycling Symbol
- ♳ U+2673 Recycling Symbol For Type-1 Plastics
- ♴ U+2674 Recycling Symbol For Type-2 Plastics
All 256 characters: Miscellaneous Symbols.
Official reference
Questions people ask
- What is the HTML code for ♬?
- Use ♬ (decimal) or ♬ (hex).
- What is the UTF-8 encoding of U+266C?
- E2 99 AC (hex), 3 bytes. In a URL it is %E2%99%AC.
- How do I write U+266C in JavaScript or Python?
- JavaScript: \u266C. Python: \u266C.
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