Am 03.10.2025 um 10:44 schrieb Antonio DiCesare via Cygwin:
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.
LC_ALL=C.utf8 find
works.
I think to remember that UTF-8 used to be the default locale for LC_ALL=C in cygwin, either I'm wrong or that changed.

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to