Reading staff symbols
I am working on a function looking for accidentals as text in StaffCueSymbols. Sometimes it is only one character, sometimes it is three high ASCII characters. When I used stdErr for debugging, I get a character looking like a lowercase m with something dragging to the right (see picture). What is that character? Is it possible to read and interpret the text for a special font?
In the following code saveText is the content of the quoted character(s) without spaces.
switch(saveText) {
case "e":
case "?":
case "": //Natural
saveAcc = "n";
break;
case "f":
case "": //Flat
saveAcc = "b";
break;
case "d":
case "": //Sharp
saveAcc = "#";
break;
case "g": // Double sharp
case "":
saveAcc = "x";
break;
case "h": // Double Flat
case "":
saveAcc = "v";
break;
default:
errMsg+= ti + "->" + saveText + "<- " + lines[i] + "\n";
errMsg += "Couldn't find accidental in " + lines[ti], rc = 1; return lines; // change += to = when live
}