Non-ASCII characters in style name not handled correctly

• Sep 26, 2014 - 07:04
Type
Functional
Severity
S4 - Minor
Status
active
Project

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

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.

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).

Title Accents in style name not handled correctly Non-ASCII characters in style name not handled correctly

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:

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

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.