[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Index wrongly encoded with UTF-8

From: Vincent Belaïche
Subject: Index wrongly encoded with UTF-8
Date: Fri, 28 Jul 2017 20:13:03 +0200


Attached is a minimal example.

I don't know who is to blame, is that Texinfo, or MikTeX, as I updated
the latter lately.

Look at the .cp file, I get a spurious space in between the bytes of any
UTF-8 charcters that do not fit in a single byte (there are plenty of
those in French, like é or ù).

I suspect that Texinfo lets the active characters active when \write-ing
the non sorted index file, and the MikTeX inserts a whitespace like
after any command.

I had never noticed that before. But maybe it was already there. There
is no strongly visible impact on the formatted PDF, except that the
index sorted is a little awkward as far as words starting with an
accented letter are concerned. So maybe it has been there for a long

Could you make a trial with TeXLive ?

Here is my MiKTeX version:

--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
MiKTeX-TeX 2.9.6300 (3.14159265) (MiKTeX 2.9.6350 64-bit)
Copyright (C) 1982 by D. E. Knuth; all rights are reserved.
TeX is a trademark of the American Mathematical Society.
using bzip2 version 1.0.6, 6-Sept-2010
compiled with curl version 7.54.0; using libcurl/7.54.0 WinSSL
compiled with expat version 2.2; using expat_2.2.0
compiled with liblzma version 50020032; using 50020032
compiled with libressl version LibreSSL 2.5.3; using LibreSSL 2.5.3
compiled with MiKTeX Application Framework version 1.6334; using 1.6334
compiled with MiKTeX Core version 1.6344; using 1.6344
compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300
compiled with MiKTeX Package Manager version 1.6353; using 1.6353
compiled with uriparser version 0.8.4
compiled with zlib version 1.2.11; using 1.2.11
--8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----


PS: I can propose a patch to texinfo.tex if need be, as after having a
    look at it, my guess is that the problem is there.

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.

Attachment: texi-index-bug.texi
Description: application/texinfo

Attachment: texi-index-bug.cp
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]