musescore/MuseScore — pull request #1118 by MarcSabatella (2014-08-11 15:28:14+00:00)
Title: fix #29246: unrecognized chords with symbols imported with markup

I elected to fix this within the Text class as it seems the same fix could be useful elsewhere. The fix is, for Text items that contain accidentalFlat or accidentalSharp symbols, when calling plainText(noSym = true), instead of skipping those symbols entirely as we would for other symbols, I replace them with "b" and "#".

Right now, it looks like the only other place plainText(true) is used is in generating filenames for newly created scores from titles. So if you call your score "Concerto for Bb Trumpet" but with a real flat sign, this would substitute the "b" in the generated title - a good thing, I would think.