bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-book crashes for UnicodeDecodeError


From: David Kastrup
Subject: Re: lilypond-book crashes for UnicodeDecodeError
Date: Sun, 19 May 2013 18:56:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Federico Bruni <address@hidden> writes:

> 2013/5/19 nicola g. <address@hidden>
>
>> V. 2.14.2
>> Running:
>> lilypond-book ---output=out MYFILE.lytex
>> I obtain:
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 13:
>> invalid start byte
>> The main.tex file is not produced in out dir. It doesn't contain any
>> accented letter...
>>
>>
>
> Hi Nicola
>
> which operating system are you using?
> Is your file encoded in UTF-8?
> Can you send it here?
>
> Have you tried using the latest stable v2.16?

The error message sounds like it is rather Python (which lilypond-book
is written in) does not like the file.

And I would not be overly surprised if that was the fault of the file
not actually being written in UTF-8.  Byte 0xab very much sounds like
the character « when written in Latin-1 rather than UTF-8 encoding.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]