From: Günter Milde Date: Sun, 17 Mar 2019 10:20:58 +0000 (+0100) Subject: Amend d53a13a: Bug 11519 only manifests if inputenc != "auto". X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2463 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bda8acee67ed7ef4c929eb23677464d9c4feb667;p=lyx.git Amend d53a13a: Bug 11519 only manifests if inputenc != "auto". --- 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