[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different encodings for input and output file names and command line
From: |
Patrice Dumas |
Subject: |
Re: different encodings for input and output file names and command line |
Date: |
Tue, 1 Mar 2022 01:42:50 +0100 |
On Mon, Feb 28, 2022 at 10:29:02AM +0100, Patrice Dumas wrote:
> Hello,
>
> * input file name encoding:
> My preference would be the locale, but Gavin proposal to use
> @documentencoding also has merit, so let stick to @documentencoding
> except on Windows where the locale is used.
> * output file encoding:
> Use the locale in the default case.
> * command lines called from texi2any
> Always use the encoding already used for messages defaulting to the
> locale encoding
I commited an implementation. The XS parser part is incomplete, I coded
passing the informations, but not using the information, for instance in
encode_file_name(). Also encode_file_name() should be used for CPP file
directive, as I reported in another mail.
--
Pat