3

♯ ♭

I saw this two symbol and i copied it. try to do any html entities or special character.. but i can't get any result I can't find any information on google also because this is not a searchable symbols any one can explain how this flat and sharp musical symbol exist in which standard? and how to type or generate them and any siblings?

♯ ♭ ♪ ♬ ♫

skaffman
  • 398,947
  • 96
  • 818
  • 769
Elliot Yap
  • 1,076
  • 1
  • 12
  • 20
  • The standard used to define the characters is [Unicode](http://en.wikipedia.org/wiki/Unicode) –  Jun 29 '11 at 06:35

4 Answers4

5

The standard used to define the characters is Unicode

See Unicode Miscellaneous Symbols (includes common music symbols like ♯) and Unicode Musical Symbols (other music symbols) -- I did a search for "unicode musical symbols", there are many more hits.

Happy coding.


See How to enter Unicode characters in Microsoft Windows -- or use the Windows Character Map. However, you need to know the code-point (or general code-point area) :-) Other operating systems have different input methods and utilities.

2

A quick google search find the following page which lists entity codes for musical notes:

http://www.danshort.com/HTMLentities/index.php?w=music

ColinE
  • 68,894
  • 15
  • 164
  • 232
  • 1
    +1 Very nice find. See [XHMTL5/HTML4 character entities](http://stackoverflow.com/questions/3215053/xhtml5-and-html4-character-entities) for some more background. –  Jun 29 '11 at 06:47
2

It is in Unicode, and you can insert any Unicode character by putting this in HTML/xHTML markup:

♬

Gives , i.e. you put &#x and suffix it with the Hex code of the character (end it with ;)

P.S: This technique is used as the last resort when facing character encoding problems.

Ken D
  • 5,880
  • 2
  • 36
  • 58
1

explain how this flat and sharp musical symbol exist in which standard?

Unicode

and how to type or generate them and any siblings?

There are utilities for picking characters from unicode distributed with most operating systems.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335