Is loading inputenc with two encodings a bug?
Udicoudco
udifoglle at gmail.com
Sat Aug 19 21:52:39 UTC 2023
On Sat, Dec 17, 2022 at 10:44 AM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
>
> Am Freitag, dem 16.12.2022 um 10:32 -0500 schrieb Scott Kostyshak:
> > Attached is a .lyx file that produces the following code when
> > exported
> > with LaTeX (pdflatex):
> >
> > \usepackage[latin9,cp1255]{inputenc}
> >
> > Ulrike Fisher points out the following [1]:
> >
> > \usepackage[latin9,cp1255]{inputenc} doesn't make any sense, your
> > files can't have two encodings at the same time.
> >
> > Should I make a trac ticket for this?
>
> Yes. Of course a file can have multiple encodings, and encodings can be
> switch via \inputencoding with a file. The inputenc package, however,
> only expects one option. It sets the latter to the inputencoding at at
> package loading time, which is cp1255 here.
Should the second input encoding be changed from latin9 to utf8,
now that utf8 is the default encoding?
I mean the encoding used in the command \inputencoding,
not the option of the package.
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
More information about the lyx-devel
mailing list