[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: |
Thu, 3 Mar 2022 11:09:20 +0100 |
On Tue, Mar 01, 2022 at 08:56:19PM +0000, Gavin Smith wrote:
> >
> > 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.
>
> I've tried to do the line directive in the XS code in commit 03dc9e8efd.
> It fixes the error message in the attached test file under a Latin-1
> locale.
I have understood why the test changed, the problem is that
reverse_iconv in input.c is not reinitialized between two calls
of the parser. It should probably be reset in reset_parser_except_conf
in api.c.
--
Pat