Re-hello, Actually, the fix is fairly simple. Sorry for not letting you more time think about it. I attached it.
Vincent. PS : BTW, there is not test bench for texinfo.tex non regression, so I could not submit the corresponding test for this bug. --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus
Index: ChangeLog =================================================================== --- ChangeLog (revision 7847) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2017-07-28 Vincent Belaïche <vincen...@users.sourceforge.net> + + * doc/texinfo.tex: Fix UTF-8 encoding in index files. + 2017-06-24 Gavin Smith <gavinsmith0...@gmail.com> * tp/Texinfo/Parser.pm (_parse_texi): Remove debugging code Index: doc/texinfo.tex =================================================================== --- doc/texinfo.tex (revision 7847) +++ doc/texinfo.tex (working copy) @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2017-06-04.19} +\def\texinfoversion{2017-07-28.20} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -4870,6 +4870,10 @@ % % Do the redefinitions. \definedummies + % + \ifx\declaredencoding\utfeight + \setnonasciicharscatcodenonglobal\other + \fi } % Used for the aux and toc files, where @ is the escape character.
Le 28/07/2017 à 20:13, Vincent Belaïche a écrit : > Hello, > > 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 > time. > > 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---- > > Vincent. > > 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. > >