开发者

i saw musical symbol in html plain text, but any know how exactly it happen? [closed]

开发者 https://www.devze.com 2023-03-16 06:20 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

♯ ♭

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 a开发者_开发问答nd sharp musical symbol exist in which standard? and how to type or generate them and any siblings?

♯ ♭ ♪ ♬ ♫


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.


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

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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号