From bda8acee67ed7ef4c929eb23677464d9c4feb667 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnter=20Milde?= Date: Sun, 17 Mar 2019 11:20:58 +0100 Subject: [PATCH] Amend d53a13a: Bug 11519 only manifests if inputenc != "auto". --- .../latex/parent-with-other-inputenc.lyx | 45 ++++++++++++++----- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/autotests/export/latex/parent-with-other-inputenc.lyx b/autotests/export/latex/parent-with-other-inputenc.lyx index cc8a61ffe1..d630a7f18b 100644 --- a/autotests/export/latex/parent-with-other-inputenc.lyx +++ b/autotests/export/latex/parent-with-other-inputenc.lyx @@ -15,7 +15,7 @@ logicalmkup \maintain_unincluded_children false \language english \language_package default -\inputencoding auto +\inputencoding iso8859-15 \fontencoding auto \font_roman "lmodern" "FreeSerif" \font_sans "default" "FreeSans" @@ -95,33 +95,56 @@ logicalmkup \begin_body +\begin_layout Subsection* +Bug #11519: Wrong input encoding when parent and child use different setting. +\end_layout + \begin_layout Standard -When the +When +\end_layout + +\begin_layout Itemize +\noindent +a parent document sets a global input encoding (i.e. + not +\family typewriter +auto +\family default + ( \begin_inset Quotes eld \end_inset -inputencoding +language default \begin_inset Quotes erd \end_inset - setting for parent and child differ, the parent loads the child doc with - wrong input encoding. +)) and \end_layout -\begin_layout Standard -Example: This document uses +\begin_layout Itemize +\noindent +the \begin_inset Quotes eld \end_inset -language default +inputencoding \begin_inset Quotes erd \end_inset - ( + setting for parent and child differ, +\end_layout + +\begin_layout Standard +\noindent +the parent loads the child document with wrong input encoding. +\end_layout + +\begin_layout Standard +Example: This document uses \family typewriter -utf8 +latin9 \family default -), the included child +, the included child \family typewriter utf8 \family default -- 2.39.5