[tex-live] bug in TeX Live Utility
Norbert Preining
preining at logic.at
Mon Jul 13 18:41:24 CEST 2009
On Sun, 12 Jul 2009, Karl Berry wrote:
> Commenting out
>
> binmode(STDOUT, ":utf8");
>
> in tlmgr.pl 'fixes' this problem, but I've no idea how it should be
> solved correctly.
>
> Evidently that binmode is causing double encoding. I don't remember why
> it's there.
>
> The description originally comes from the TeX Catalogue. There, it
> looks like UTF-8 to me: 0342 0200 0230 character 0342 0200 0231, which
> is the usual thing for the Unicode quotes.
>
> In texlive.tlpdb, I see the same byte sequence.
>
> But in tlmgr show output, I see
> 0303 0242 0302 0200 0302 0230 character 0303 0242 0302 0200 0302 0231
> which just looks like garbage.
>
> Norbert?
I don't remember. I *DO* remember that there was a reason, probably because
the output on an UTF8 system or an ISO8859-15 system was garbled.
Honestly, if *ANYONE* here can make sense of all the :FOOBAR in perl
and can explain me how I get:
- guaranteed utf8 encoded files saved (saving tlpdb)
- reading from tlpdb in the right encoding
- output to stdout in the encoding that is the "correct" one
- and probably some other cases I forgot
then I would happily fix that, but AFAIR the binmode didn't come with
some reason.
Sorry, I know it is a pain.
And sorry, I don't know how to fix it.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at> Vienna University of Technology
Debian Developer <preining at debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
TILLICOULTRY (n.)
The man-to-man chumminess adopted by an employer as a prelude for
telling an employee that he's going to have to let him go.
--- Douglas Adams, The Meaning of Liff
More information about the tex-live
mailing list