The Mudcat Café TM
Thread #146532   Message #3393037
Posted By: JohnInKansas
20-Aug-12 - 10:47 PM
Thread Name: Tech: Typing foreign stuff & symbols on a PC
Subject: RE: Tech: Typing foreign stuff & symbols on a PC
Some mention has been made of "music fonts" that install with a scoring program. Some of these may use the Unicode characters, but the number of music symbols defined in Unicode is actually very sparse. Most such fonts use the code numbers that usually apply to other characters, with a "character map" that prints a non-standard "picture" instead of a normal alphabetical one. Mixing these "re-mapped" glyphs in with normally coded fonts can produce uncertain and unexpected results.

The use of the Windows Character Map for picking a few special characters is also mentioned. In recent versions of Windows the Char Map allows you to look at whether a font you'd like to use contains the character groups you need, so that it can be a help in picking the most appropriate font to apply in normal use "on your computer" where you can select a font. For use in html the browser in use by the one reading the page, or the CSS that the designer applied, may override what you code to be used, so "unusual" fonts should probably be avoided.

Since they are of interest here, the principal "music symbols" included in Unicode are in "Miscellaneous Symbols" along with Astrological and Zodiacal Symbols, at hex numbers between 2638 and 2672. The musical ones are:

♩ = ♩
with alternate/related 𝅘𝅥 = 𝅘𝅥

♪ = ♪
with alternate/related 𝅘𝅥𝅮 = 𝅘𝅥𝅮

♫ = ♫
alternate/related 🬶 = 🬶

♬ - ♬

♭ = ♭

♮ = ♮

♯ = ♯
not to be confused with the number sign # = #

Note that most of these, especially the "alternate/related" ones, may not display on the mudcat page for most people, but I'll leave the codes in for reference.

There are a few others, mostly "repeats" of the ones above at different numbers, scattered in the other "miscellania" but none that I've figured out how to make use of directly for music notation.

An interesting? character taken at random: ⅋ = ⅋

John