]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.C
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / LaTeX.C
index 7ec8adc0a18d4a2fa01cb12b1f3fbc290951ae29..b8caf83b607aa2bf65056589af6a3ad41688edc2 100644 (file)
@@ -481,6 +481,9 @@ void LaTeX::scanAuxFile(FileName const & file, Aux_Info & aux_info)
        while (getline(ifs, token)) {
                token = rtrim(token, "\r");
                smatch sub;
+               // FIXME UNICODE: We assume that citation keys and filenames
+               // in the aux file are in the file system encoding.
+               token = to_utf8(from_filesystem8bit(token));
                if (regex_match(token, sub, reg1)) {
                        string data = sub.str(1);
                        while (!data.empty()) {