On Sun, Feb 20, 2022 at 07:00:23PM +0100, Patrice Dumas wrote: > I don't get it. If everything is decoded to internal perl encoding and > then the file name is encoded to the local, here Latin-1, everything > will be ok, as long as the characters in manuals can be output in > Latin-1.
The point is that the file name won't be recoded unless the user goes to the extra effort of recoding it. Suppose you are extracting a .tar.gz file; tar doesn't look at the current locale settings and convert the filenames so that they are valid in the current locale. (I did find a reference to "pax", the POSIX archive format, which *does* support some recoding, but this finds little use AFAIK.)
