Unicode characters not displayed in mixer patch list on Linux
The Qt unicode translation is failing certainly in Mint 14 and Ubuntu Studio 12.04 in the mixer patch name menu
Accents and umlauted characters are being displayed as question marks.
See the attached screenshot.
This example is from the Jeux pipe organ soundfont currently being customised for use with MuseScore
Also see this forum discussion: http://musescore.org/en/node/23001#comment-88359
MuseScore 2 commit a3c03f3
Ubuntu Studio 12.04
Comments
What if you replace
p->name = str;
by
p->name = QString::fromUtf8(str);
https://github.com/musescore/MuseScore/blob/master/fluid/sfont.cpp#L989
Apparently makes no difference, although I'm not that clued up on editing code on Linux.
Do I just change the file in MuseScore/fluid/sfont.cpp and the recompile?
Yes. That should be enough.
In which case it doesn't work.
The thing that interests me is that the problem is not there in MuseScore 1.3.
Which begs the question - is it a Qt5 bug??
The coding in the soundfont is only specified as "ascii". The actual coding in the jeux soundfont seems to latin1. "p->name = QString::fromLatin1(str)" seems to do the right thing.
Fixed in 5d0b72796e
Automatically closed -- issue fixed for 2 weeks with no activity.