Problem running 'find' command from inside a path with accents
Antonio DiCesare
antonio71.dicesare@gmail.com
Fri Oct 3 08:44:16 GMT 2025
I have the following locales:
LANG=it_IT.ISO-8859-3
LC_CTYPE="it_IT"
LC_NUMERIC="it_IT"
LC_TIME="it_IT"
LC_COLLATE="it_IT"
LC_MONETARY="it_IT"
LC_MESSAGES="it_IT"
LC_ALL=it_IT
Everything works fine, but one thing. If I am inside a path with an
accented letter in it (say ~/aàa/bbb) and run the 'find' command I get
"find: Failed to save initial working directory: No such file or directory"
The "ls" command, for instance, works fine. Also the 'find' command works
perfectly fine if I run it from ~ , but as soon as I cd to "~/aàa" it
breaks.
If I run
LC_ALL=C find
then I get a result, but accented letters are replaced by "??". So, if I
have the file "càc" in the above directory, the command " LC_ALL=C find"
shows
.
./c??c
Any suggestion greatly appreciated.
More information about the Cygwin
mailing list