Hi Richard, That was indeed the case, I found the culprit using isutf8. Thanks for your response.
best regards, Tom On Fri, Oct 7, 2011 at 12:05 AM, Richard Heck <rgh...@comcast.net> wrote: > On 10/06/2011 12:54 AM, Tom Francart wrote: >> Hi all, >> >> I'm using Lyx 2.0.0 (Ubuntu package). >> When trying to insert a citation in my document, I get the error message >> "BibTeX >> Parser: Unexpected end of file." And indeed, part of my bibtex file is not >> available in Lyx. >> How can I get more info about what the problem is (e.g., a line number)? >> It's a >> 2.2MB .bib file which works fine with Bibtex and Pybliographer, so it's quite >> hard to find out what the problem is. >> I tried enabling debug output, but did not get more useful information. >> > This is almost always due to a bad character in the file., e.g., a > Unicode dash. LyX tries to read the file with the encoding of the main > document. The bad character is probably in the first entry in the file > that you do not see in LyX. > > rh > >