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: Francisco Vila
Subject: Re: BOM mark from Windows notepad
Date: Fri, 13 Nov 2009 12:34:44 +0100

2009/11/13 Bertalan Fodor (LilyPondTool) <address@hidden>:
> Hehe, we've got this:
>
> <INITIAL,chords,lyrics,figures,notes>{BOM_UTF8}/.* {
>  if (this->lexloc->line_number () != 1 || this->lexloc->column_number () !=
> 0)
>   {
>     LexerError (_ ("stray UTF-8 BOM encountered").c_str ());
>     exit (1);
>
> That means, we correctly parse the BOM, but exit if it is not the first
> char.

So, one of:
a) Supress the rule. Anyway, what do we do with the BOM once
encountered? Handle it as a space as Unicode says
c) Change the rule so that we don't exit
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org
www.csmbadajoz.com




reply via email to

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