Re: not using OUTPUT_PERL_ENCODING to determine if _stream_encode should encode

2024-02-18 Thread Patrice Dumas
On Sun, Feb 18, 2024 at 06:09:23PM +, Gavin Smith wrote: > If this is ok, then "convert" could set $self->{'encoding_disabled'}. Should I do that part? -- Pat

Re: not using OUTPUT_PERL_ENCODING to determine if _stream_encode should encode

2024-02-18 Thread Patrice Dumas
On Sun, Feb 18, 2024 at 06:09:23PM +, Gavin Smith wrote: > What you propose sounds reasonable. I understand the idea of 'convert' > always returning an unencoded string regardless of output format, although > the Info converter will have incorrect tag tables so is not a widely > useful

Re: Patch: stable sort for /usr/share/info/dir

2024-02-18 Thread Gavin Smith
On Sun, Feb 18, 2024 at 01:27:12PM +0100, Roland Clobus wrote: > Hello texinfo maintainers, > > While working on reproducible live images [1], I noticed that the sort order > in the file /usr/share/info/dir is unstable when nearly identical entries > are added. > > The order of the pairs 'diff',

Re: not using OUTPUT_PERL_ENCODING to determine if _stream_encode should encode

2024-02-18 Thread Gavin Smith
On Sun, Feb 18, 2024 at 02:13:13PM +0100, Patrice Dumas wrote: > Hello, > > This is in the new encode once only stream code, so I ask here before > making a change, I could be missing something, Gavin you probably > will have comments/advices. > > I do not think that it is a good thing to set

Patch: stable sort for /usr/share/info/dir

2024-02-18 Thread Roland Clobus
Hello texinfo maintainers, While working on reproducible live images [1], I noticed that the sort order in the file /usr/share/info/dir is unstable when nearly identical entries are added. The order of the pairs 'diff', 'diff3' and 'who', 'whoami' was not guaranteed to be in dictionary

not using OUTPUT_PERL_ENCODING to determine if _stream_encode should encode

2024-02-18 Thread Patrice Dumas
Hello, This is in the new encode once only stream code, so I ask here before making a change, I could be missing something, Gavin you probably will have comments/advices. I do not think that it is a good thing to set OUTPUT_PERL_ENCODING to an empty string to prevent _stream_encode to encode if