Bruno Haible <[email protected]> writes: > Collin Funk wrote: >> Any objections to using UTF-8 in the Texinfo sources? >> 0001-doc-Use-UTF-8-in-Texinfo-sources.patch > > OK for the first part, because we have > @documentencoding UTF-8 > in gnulib.texi. > > But not for the second part: > $ ./gnulib-tool --find doc/parse-datetime.texi > parse-datetime > This file gets copied into other packages by 'gnulib-tool', and we don't > know the version of Texinfo (or merely texi2html) nor the @documentencoding > used in that other package. > > In other words, Texinfo features that we use in such *.texi files should > be understood by both > - texinfo-4.13a (the last Texinfo release that does not need perl), > - texi2html 1.78a, > in order not to cause problems.
Sounds good to me. I pushed the attached patch, which is the same as the previous one, but with the parse-datetime.texi change removed. I wouldn't be surprised if coreutils is the only one that includes that file, but I haven't checked. We certainly don't want to force changes on other projects without reasonable warnings/time for objections. Collin
>From b784f3ded1fa80ea79278f593a1bb11e5ba4c7da Mon Sep 17 00:00:00 2001 Message-ID: <b784f3ded1fa80ea79278f593a1bb11e5ba4c7da.1766204365.git.collin.fu...@gmail.com> From: Collin Funk <[email protected]> Date: Thu, 18 Dec 2025 19:29:49 -0800 Subject: [PATCH v2] doc: Use UTF-8 in Texinfo sources. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/gnulib-intro.texi (Portability and Application Code): Use ï instead of @"{@dotless{i}}. --- ChangeLog | 6 ++++++ doc/gnulib-intro.texi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d3891a103f..c297091d0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-12-19 Collin Funk <[email protected]> + + doc: Use UTF-8 in Texinfo sources. + * doc/gnulib-intro.texi (Portability and Application Code): Use ï + instead of @"{@dotless{i}}. + 2025-12-19 Bruno Haible <[email protected]> signbit-no-c++: New module. diff --git a/doc/gnulib-intro.texi b/doc/gnulib-intro.texi index d07dbcacae..982fcc2a9f 100644 --- a/doc/gnulib-intro.texi +++ b/doc/gnulib-intro.texi @@ -127,7 +127,7 @@ @node Portability and Application Code For example, Gnulib has a facility for generating the name of backup files. While this task is entirely at the application level---no -standard specifies an API for it---the na@"{@dotless{i}}ve code has +standard specifies an API for it---the naïve code has some portability problems because on some platforms the length of file name components is limited to 30 characters or so. Gnulib handles that. -- 2.52.0
