Non-ASCII characters in style name not handled correctly
On Xubuntu 14.10 (MuseScore commit 2a67602), create a score, go to Style | Text... and click on the button New. Add Texte accentué in the field Text style name and click on OK.
Result: the style name is not displayed correctly (in the Edit Text Styles dialog, the Inspector dialog, etc.):
Texte accentu�
Comments
This probably relates to https://github.com/musescore/MuseScore/commit/bc506ed85bf10a719cf186dc8…, a commit dealing with translation and Unicode.
I tested MuseScore commit 0f387132 (it's a commit older than bc506ed8) and this bug still occurs.
It seems that the issue of these accents is earlier. I have the same observation on May 19, and I have any Nightly before that date.
On my (k)ubuntu system it works. Maybe your xubuntu system font is not a unicode font?
It's a Unicode font. My locale is
fr_CA.UTF-8
.Also, I can reproduce this bug with MuseScore 2 Beta 1 on Windows 7 (VirtualBox).
It seems that the problem occurs for all non-ASCII characters, not only accentuated letters.
There's no problem with ASCII characters. Create a new style with a name containing all printable ASCII characters:
The name is displayed correctly. Now, create a new style with these additional printable symbols from ISO-8859-1:
Not one is displayed correctly.
@werner: just to be sure, after adding the new style, you must confirm changes, close the "Edit Text Styles" dialog and open it again. The name is then displayed incorrectly.