Re: lilypond-user Digest, Vol 174, Issue 51

2017-05-15 Thread Johan Vromans
On Sun, 14 May 2017 13:57:48 -0500, David Wright
 wrote:

> Well, let's make sure we're starting from the same source:
> ...
> 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.

Thanks for clearing this up. I was misled by one of the earlier postings
that mentioned:

  UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 39: 
  unexpected code byte

-- Johan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 174, Issue 51

2017-05-14 Thread Johan Vromans
On Sun, 14 May 2017 13:45:22 +, Ian Ring  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.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 174, Issue 51

2017-05-14 Thread Ian Ring
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.

I've had to do that with XML output from MuseSore.
Cheers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user