tlpkg UTF-8 Umlauts Problem

Hartmut Henkel hartmut_henkel at gmx.de
Wed Mar 24 16:11:41 CET 2021


Hi Norbert,

On Wed, 24 Mar 2021, Norbert Preining wrote:
> >   Schauen Sie in die /usr/local/texlive/2021/index.html fr Links auf
> > die Dokumentation.
>
> What is the output of
> 	locale
> on your system?

$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

(i said good-bye to ISO-8859-* years ago, and this is the default
debian/buster setup.)

> And what does the terminal emulator you are using expect for an
> encoding?

All geared for UTF-8; an UTF-8 diacritic appears correctly in the
terminal.

> I just tried:
>
> $ export LANG=de_AT.ISO-8859-15 at euro
> $ locale
> ocale
> LANG=de_AT.ISO-8859-15 at euro
> LANGUAGE=
> LC_CTYPE="de_AT.ISO-8859-15 at euro"
> LC_NUMERIC="de_AT.ISO-8859-15 at euro"
> LC_TIME="de_AT.ISO-8859-15 at euro"
> LC_COLLATE="de_AT.ISO-8859-15 at euro"
> LC_MONETARY="de_AT.ISO-8859-15 at euro"
> LC_MESSAGES="de_AT.ISO-8859-15 at euro"
> LC_PAPER="de_AT.ISO-8859-15 at euro"
> LC_NAME="de_AT.ISO-8859-15 at euro"
> LC_ADDRESS="de_AT.ISO-8859-15 at euro"
> LC_TELEPHONE="de_AT.ISO-8859-15 at euro"
> LC_MEASUREMENT="de_AT.ISO-8859-15 at euro"
> LC_IDENTIFICATION="de_AT.ISO-8859-15 at euro"
> LC_ALL=
> $
>
> and changed konsole to expect ISO-8859-15.
>
> With that setup, the installation text showed the correct output.
>
> *********
>
> My guess is that your terminal expects UTF8, but you have your local
> set to something none-UTF8.

It seems that terminal and locale are matching here, all using UTF-8.

My impression is that some Perl package might not yet be fully
UTF-8-proof (or locale-proof).

> I tried the same with
> 	LANG=ja_JP.UTF-8	terminal expection UTF8
> and it worked.
>
> Only with
> 	LANG=ru_RU.KOI8-R
> I got failures and wide char warnings.
>
> So it looks really cryptic

Yes, indeed. (I guess typing literally "utf8" into the install.tl might
also be error-prone, it should be a variable...)

Best Regards, Hartmut


More information about the tex-live mailing list.