On Sun, Feb 20, 2022 at 12:45:59PM +0000, Gavin Smith wrote:
> 
> I made a similar change in commit e11835b62d.

I propose another plan:
* decode arguments on the command line arguments based on the
  locale
* if on windows use the locale to determine the encoding
  for the file names, otherwise use utf-8.  Encode file names
  as late as possible, just before calling -e, stat, open...

The first point is important in general, I think, not only for
file names, but also for customization variables strings in case
one use accented characters in those.

-- 
Pat

Reply via email to