X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftex2lyx.cpp;h=edcba48578162d2d26f3b703bd0d4139a781078a;hb=777a2a9baa1b7e5f2bec0cc584cca6a77f34e918;hp=03330342452fcd40c8fdccc610be35058406ffe2;hpb=0b54650f0e7f1eae39f93444cac6c8525811975b;p=lyx.git diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index 0333034245..edcba48578 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -993,7 +993,7 @@ bool tex2lyx(FileName const & infilename, ostream & os, string encoding, // actual encoding is different (bug 7509). if (encoding.empty()) { Encoding const * enc = 0; - if (preamble.inputencoding() == "auto") { + if (preamble.inputencoding() == "auto-legacy") { ifdocstream is(setEncoding("ISO-8859-1")); // forbid buffering on this stream is.rdbuf()->pubsetbuf(0, 0);