diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 8ea5502e1c..49dbd2d07a 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -495,6 +495,9 @@ void TeXEnvironment(Buffer const & buf, Text const & text, if (pit != runparams.par_end) LYXERR(Debug::OUTFILE, "TeXEnvironment for paragraph " << par_begin << " done."); + + // set upstream encoding + runparams_in.encoding = runparams.encoding; }