Peter Kümmel schrieb:
Is there any way to determine the encoding of a file? Can't any file be
considered as UTF-8 (even if it is not encoded in UTF-8)?
Georg's comment in bugzilla is
Yes, LyX treats all text files as utf8, and iconv can choke on
non-utf8 text
Oh, that means that there are some byte combinations that don't make a
UTF-8 character. Interesting.
However, with 8-bit local encoding, every file should be acceptable. The
second error message will never occur. Maybe you should raise a warning
if UTF-8 fails and you try to use 8-bit-local.
Michael