• Home
  • News▼
    • Latest News
    • Newsletter Sign-up
    • RSS Feed
  • Guitar Lessons▼
    • Beginner Guitar Lessons
    • Intermediate Guitar Lessons
    • Advanced Guitar Lessons
    • All Guitar Lessons
  • Chords
  • Scales
  • Arpeggios
  • Music Theory▼
    • Beginner Music Theory
    • Intermediate Music Theory
    • Advanced Music Theory
    • All Music Theory
  • Guides▼
    • Buying Guides
    • Maintenance Guides
    • Music Industry Guides
    • All Guides
  • More▼
    • Tools & Apps
    • Music Directory
    • Help Charts
    • Miscellaneous
    • Help & Support

Ricmedia Guitar

Free Guitar Lessons

You are here: Home / Latest News / Musical Symbols, Fonts & Unicode

October 17, 2012 By Richie 2 Comments

Musical Symbols, Fonts & Unicode

I am glad to announce that I will be implementing Unicode Musical Symbols for both the revamp of existing content and all new content from this point onwards on Ricmedia Guitar.
This may not be the most exciting information but let me explain why it is very important for both your viewing experience, and my workload when writing HTML. You see, if you go to the current website chord section https://www.ricguitar.com/Chords/ you will see all the symbols I use for chord quality like: C♯min or D♭Ma with the sharp and flat signs right? Well when I first wrote the HTML for the site around 2007-2009 Microsoft Windows XP was still king, with Windows Vista just being released. Unfortunately Windows XP had terrible support for Unicode characters like the ones above, so I made the decision to design my own set of musical symbols in simple .gif images and place them wherever I needed them with the usual <img> code. This worked out well after a lot of testing and tweaking but was terrible for search engines and very fiddly for me to insert with long lines of code.
After doing some testing recently I have discovered that Windows 7/IE9+ has great support for Unicode musical symbols and of course browsers like Firefox, Opera, Safari and Google Chrome do too (and have done for many years). Internet Explorer is also falling out of favor world wide (16%) so in terms of support for cutting edge HTML, this is a good thing as Microsoft have been lagging behind for far too long and only now, when their browser domination is severely threatened, they start to support newer HTML features 🙂
So let’s go through the differences between old and new……

  • Old code for a sharp symbol: <img src=”https://www.ricguitar.com/common/musical_symbols/sharp.png” width=”8″ height=”16″ alt=”Sharp Sign” />
  • Result:
  • New code (Unicode) for a sharp symbol: &#9839;
  • Result: ♯

As you can see it’s a whole lot simpler for me to just put in a small line of code rather than an image!
I still have to make a complete Unicode musical symbol reference for myself so I can just copy and paste the code but you get the drift 🙂
Cheers!
Richie

Filed Under: Latest News Tagged With: browser support, flat symbol, sharp symbol, unicode characters

Comments

  1. JSMitty says

    November 18, 2012 at 11:36 pm

    Looks like the new way will be much faster and easier for you Richie, can’t wait to see the new site up and running.

    Reply
    • Guitar_Overlord says

      November 18, 2012 at 11:38 pm

      Not long to go now mate, working hard here to bring it to fruition and also overcoming budget constraints, but it’s all happening!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Help & Support • Legal, Terms & Privacy • Contact Details • Copyright ©2006- Ricmedia • Part of the Ricmedia group of websites   Part of the Ricmedia group of websites