From: Juergen Spitzmueller Date: Thu, 16 May 2024 05:33:29 +0000 (+0200) Subject: Amend 207eaeee9071cb X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2d95f8fc160d6ecc63acb81ffac16a99339083b2;p=lyx.git Amend 207eaeee9071cb The upstream encoding needs to be updated after this routine (see comment in OutputParams.h:183ff.) --- 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; }