import from musicxml which has french letters like é fails
Hi,
Thanks for the fantastic free app!!! great job!!!
Here is an example of an MUSICXML file which can't be shown in musescore because of the "é" char.
You can remove it and then see that it works fine. (I've created an almost minimal example)
BTW - the error message is wrong too...
Any solution for that?
thx a lot,
Sarig
Attachment | Size |
---|---|
example.xml | 1.2 KB |
Comments
Well, I don't think that é is encoded in UTF-8 as the XML header claims?
So the error message indeed is correct.
Here's that file with the correct UTF-8 enconding of that é.
Unsurprisingly it gets imported correctly.
In reply to Well, I don't think that é is by Jojo-Schmitz
right.
So how come the attached file opens without an error and it has both UTF-8 and é ?
thx
In reply to right. So how come the by jacopodabologna
Where does it have the é, which line? The one in the worktitle, "pré"? that one is encoded properly, as is the "gné" in line 884 and 1097 etc.
I just finished tackling the same issue, when I upgraded to the newest version of MuseScore (which is FANTASTIC!!!) I decided to recreate my Croatian instrument set. Two of the instrument names have accented characters (č). If I put a c in the place, the instruments loaded fine. A č--forget it.
I ended up creating a fake song with lyrics that contained the accented character. Exported as XML, and then copying and pasting the two-character code to replace the character in question.
Oddly enough, I never had that problem with the old version of MuseScore. No probs, though. A good learning experience on dealing with different character sets!
In reply to I just finished tackling the by amilardovic
Can you describe exactly what you did? and what didn't work? If you do, maybe we can fix it for next version.
In reply to Can you describe exactly what by [DELETED] 5
I edited the instruments.xml file and created and InstrumentGroup called Croatian Instruments. I wanted to add one of our tambura instruments, called a brač. When I typed that into the <LongName> tag, going into the instrument list didn't show that instrument, nor anything below that in the xml file.
When I replaced it with
It worked and displayed properly. (there are actually 2 characters between the Bra and the space... in my editor they appear as a capital A-umlaut (as is seen here) and a capital T with a hašek (checkmark) on top.
It must be a page encoding thing...
In reply to I edited the instruments.xml by amilardovic
Definitely, my best guess is a problem with your file editor. It's probably not set to read/write UTF-8.
In reply to Definitely, my best guess is by [DELETED] 5
I write in Croatian so I set it to Windows-1250, but I couldn't find the setting to change it back to UTF-8. It was a one time thing, and I have a workaround, so I'm good. ;-)