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: Bertalan Fodor (LilyPondTool)
Subject: Re: BOM mark from Windows notepad
Date: Fri, 13 Nov 2009 10:08:15 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

I think changing the LilyPond parser to support BOM in the middle (ie not at the beginning) of the file is very hard. Actually if it is not at the beginning, then it should be treated as a regular character, which might not be present just anywhere in the file.

Francisco Vila wrote:
2009/11/13 Francisco Vila <address@hidden>:
  
Here, suppose the user unexpectedly inserted a blank
before the BOM.
    

  
%%%%%
And no PDF.  Attached for your convenience. Comments?
    

Following unicode.org[1], one could well handle it as a ZWNBSP. I
mean, BOM is there for a reason, and if it is supported, that should
make lily to behave smartly. Instead, lily seems to behave more as a
dumb, stopping completely by a minor issue.

[1] http://unicode.org/faq/utf_bom.html#bom6
  


reply via email to

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