From 604ed2571f2b705f7b7102c9a4dae353faa2bf14 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 22 May 2010 22:42:32 +0000 Subject: [PATCH] Fix bug #6712: LyX 2 does not restore encoding after a text inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34456 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetText.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 8ef6116908..dd053d017b 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -405,6 +405,7 @@ int InsetText::latex(odocstream & os, OutputParams const & runparams) const TexRow texrow; latexParagraphs(buffer(), text_, os, texrow, rp); rows += texrow.rows(); + runparams.encoding = rp.encoding; if (!il.latexname().empty()) { if (il.latextype() == InsetLayout::COMMAND) { -- 2.39.2