[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-user Digest, Vol 174, Issue 51
From: |
David Wright |
Subject: |
Re: lilypond-user Digest, Vol 174, Issue 51 |
Date: |
Sun, 14 May 2017 13:57:48 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun 14 May 2017 at 20:06:35 (+0200), Johan Vromans wrote:
> On Sun, 14 May 2017 13:45:22 +0000, Ian Ring <address@hidden> wrote:
>
> > If your MusicXML contains a literal copyright character, it's invalid
> > XML. Find-and-replace that to © or change it into (c) and you'll be
> > good to go.
>
> Not quite. Provided the Copyright symbol is encoded in the same encoding
> as the XML document (UTF-8 (usually) or UTF-16).
>
> In the case at hand, the Copyright symbol was 0xa9, which is a ISO-8859.1
> or similar encoding.
Well, let's make sure we're starting from the same source:
https://www.dropbox.com/s/1dnv1hthyp7ss5h/Kyrie.xml?dl=0
I've downloaded it in two ways, wget and in Firefox.
Both methods give me $ md5sum /tmp/Kyrie.xml
7afd4aeb792dfe681b191979a384c4c1 /tmp/Kyrie.xml
$
The attached shows that the file claims to be encoding="UTF-8"
In emacs, the Copyright shows as \302\251 so I think you've
missed the preceding  (0xc2) character somehow.
Cheers,
David.
firefox.png
Description: PNG image
emacs.png
Description: PNG image
utf.png
Description: PNG image