DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 593I5UUa979341 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 593I5UUa979341 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=gcYciNkn X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA8803857BAF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1759514730; bh=nO+++Of9QNlvV2rUSMmpWveuYrabtiwfftBv9ukkh74=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=gcYciNkneMllD1BCJu5zyt9/B1AyHxk1hyE+CWVkklcjnkiK1jSIMLnKEHG7JYCmB 8CJaAMGfAnwQ15+qbTsMx7w8IjnPQy3AnXIW2pdkIa0d46ImU3uAIa82Y+syNWEBxo fyfNcJfEogYWQZYLaS49yDLGG+LE5aHhRFA+sAN4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 555E43858C83 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 555E43858C83 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759514703; cv=none; b=AK5lAwHZKLMD7V8Z88o89+YAvZQW3TanMzzQWFnHVtb6YCHE48QHcKpNz6nQJgzGQFU1u0o9fWFXGtmdpod/ruWxiBt+rV8v7fhXlHdi/N28DKYz9zd1kAz9sGs3XKm4u/glVPXZ5qIkBZ8Cu/fty4/NLN8o0OSKmVGq/tLHXvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759514703; c=relaxed/simple; bh=4PRqyDVQH/V9BQu64ewsZJVPi4YnUPUiUSJJFkUkSFQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=oJCYjmZ/IN5GHQPh7tYEO8dHTDDpWdvhTVk7HBZZ+xhw/YxvdQjizCIE2rNEQSGEWBGOm+RJi8m6Zs3ndH1RQPnReERK0ZJ5krm/MRB/zklH0hFz9ZuM5u4qt2ZfkIiFXH0BeDWSwlF8u/Ok2T857ftSXSpqKx8upTXCJoZd6VU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 555E43858C83 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759514701; x=1760119501; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3pmSVdMu78b94uGdGSTGT+NISynzbBWnAh/jKoRk3K8=; b=NgyMOTkk5JbdlO8kiQHM4lelT8k1ET1b2so6czh4F2B7j+8T5eOTGFuw9ZqMmXFQfV KWlV+NAUsm7Zax/LUzb1tyytXQSWbnOdQGB7Khc3MUgbTQrJFsa4pQGUnVh6hpaFVD+0 fonF+JN2+5ECbUlMXvCGDDA46lamsJ9Hx0yAfxaVw9TSDnkKhOpww9PB/d1hMO1Hrdmr R7+RDkxoNb8xZ7dVnSQhUXGKThVUY5vKvsVnjdZDmwF5kpSq7svPNduPJD8qwerceN5F QAu8VNTQTIpiOGPiPFZx8HrK8Esc+f3XvXgvumTzg9e9haE2BSdAhf+D2C6UcT/q4IjW uCrg== X-Gm-Message-State: AOJu0Yxk1YIwWfz+4Ewe2Ln/eEMOM0KcJ/8Oh+M3JF+B7Ju5qIIORn0H DUCEvVwlyfyNUEIioCfgwElR5xnGimph3maL0mqYH5ynePl6r73/PQoXdwbxtV3UpImS1ujF171 PR57yCgiP7fN/AxA4oBeUieJZTmfsagqaog== X-Gm-Gg: ASbGncuNI4OmNjqABn0MMcGRvT5FHUjPO0tfHxhT4KCoCVW8/9Ginp5zI6Uf+WQENRz ab48rcA6VJt7ip4x3j/236l6lcsGH+CtUXI2QIHdGN4ROGLUPmW29yQm1PWs8xt1Xx7p3B/4QeS uvMbyBstrI2BRy0u0AoYDJ7WrRvrDX1MxYpldGdpYrUP7EnBw6c8cczaZA211aQzT2H2H8Kigvz yurmuDAVSA2tyCjt7Lj9kqL2KImeZ5C1CuDlNtM5nA= X-Google-Smtp-Source: AGHT+IF2hGE552eWAeLrbhT+BcGLkJ8NHHFYcqU8d4V4YxyRn6Mfi4haFHVDeES7hc6ltVszPhmLOWrDnxb/zU19F38= X-Received: by 2002:a05:651c:b0a:b0:336:5d33:c394 with SMTP id 38308e7fff4ca-374c37ddf0fmr16749061fa.33.1759514701181; Fri, 03 Oct 2025 11:05:01 -0700 (PDT) MIME-Version: 1.0 References: <3fd5529b-4f0d-4d29-b5ac-f8105f1ed744 AT towo DOT net> In-Reply-To: <3fd5529b-4f0d-4d29-b5ac-f8105f1ed744@towo.net> Date: Fri, 3 Oct 2025 20:04:25 +0200 X-Gm-Features: AS18NWDZ3TznY6_6F5ZYfjIYGpsNuOo5fC5_Yv9oQYcdkJO7Fb1oqETJmA5Ymik Message-ID: Subject: Re: Problem running 'find' command from inside a path with accents To: Thomas Wolff Cc: cygwin AT cygwin DOT com X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Antonio DiCesare via Cygwin Reply-To: Antonio DiCesare Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 593I5UUa979341 Thank you for your kind suggestion. Actually, I just found the cuplrit. For some reason, in the past I modified Options -> Text -> Locale in Mintty's settings to it_IT (or C, I tried both). I do now know how exactly that interacts with LC_ALL set from the prompt, but that led to the misbehaviour I described. I have now set Text -> Locale to "Default" and everything works fine, with either LC_ALL="", LC_ALL=C.UTF-8 or LC_ALL=it_IT.UTF-8. Il giorno ven 3 ott 2025 alle ore 19:27 Thomas Wolff via Cygwin < cygwin AT cygwin DOT com> ha scritto: > > > 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 > -- 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