lilypond-devel
[Top][All Lists]
Advanced

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

Re: BOM mark from Windows notepad


From: Patrick McCarty
Subject: Re: BOM mark from Windows notepad
Date: Wed, 11 Nov 2009 13:54:50 -0800

On Wed, Nov 11, 2009 at 11:57 AM, Francisco Vila <address@hidden> wrote:
> 2009/11/11 Patrick McCarty <address@hidden>:
>> On 2009-11-11, Francisco Vila wrote:
>>> Hello. When LilyPond for Linux encounters a BOM from files made with
>>> the Windows notepad, it issues an error.
>>
>> Has this always been the case, or is this a new issue with 2.13.7?
>
> I vaguely remember it happening from 2005.
>
>>
>>> I think it should continue making the PDF anyway, because the file has
>>> an otherwise correct syntax; what do you think?
>>
>> Yes, definitely.  The BOM is permitted by the UTF-8 spec, so an error
>> should not be issued.
>
> The problem is that young starters receive perfectly detailed
> instructions and they give me working files except for this; it is
> embrassing for me having still to edit their files to produce a PDF in
> my Linux system.  A warning would suffice; is there a way to convert
> an error into a warning?

Not easily.  I'm actually having trouble reproducing this problem on
my Linux system.

The attached LY file was created in Windows Notepad, saved in UTF-8
encoding, and I compiled it on Linux with no errors or warnings.

Do you see an error message when compiling this file?  If so, can you
post the error?

Thanks,
Patrick

Attachment: bom-mark-test.ly
Description: Text Data


reply via email to

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