Danny Parker writes:

> That is the best I can track it down too.  I'm including two files.
> msuthesis.layout was done with notepad++ and msuthesis2 was done with
> windows notepad.  I don't know if it makes a difference but I'm using
> XPx64.

Notepad is writing a BOM (http://en.wikipedia.org/wiki/Byte-order_mark) at
the start of your file. You cannot see it in an editor but od reveals it:

$ od -c msuthesis2.layout | head -3
0000000 357 273 277   #   %       D   o       n   o   t       d   e   l
0000020   e   t   e       t   h   e       l   i   n   e       b   e   l
0000040   o   w   ;       c   o   n   f   i   g   u   r   e       d   e

The octal values 357 273 277 correspond to ef bb bf in hexadecimal, i.e.,
the BOM. This confuses LyX, apparently. Even if a BOM is not necessary
for UTF8, it is allowed by the standard and thus LyX should take it into
account. I suggest that you file a bug report.

-- 
Enrico

Reply via email to