Thanks for the bug report. The bug has been fixed in the source code repository
and should appear in next development release.

  /Mats

Decade wrote:
I'm not top posting.

(This doesn't work so well without file attachments.)

stuff={
  a
}
\score {
  \new Staff \stuff
}
\version "2.10.20"

If you save that in Microsoft Notepad's default encoding, it works. But if you save it in UTF-8 (because lyrics are in foreign languages), Notepad inserts a BOM, and Lilypond fails to parse it. The beginning identifier "stuff" becomes $EFBBBF"stuff" and the later reference can't find it:
error: unknown escaped string: `\stuff'

If the document starts with a special character, such as '\' or CRLF, then the Unicode BOF doesn't cause problems.



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to