DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5938jxn2711240
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 5938jxn2711240
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=EzsZTlja
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B94ED3857BB9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1759481157;
	bh=QZUxqEUjAinPSb9ACOGPRxW8skluGHH/IfvsTVFAAjw=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=EzsZTljar6jcNnYvm3jRfREWWMBcA/u0SxDW6hcKnZbNeIQvGsurToPAQKskVWRxn
	 fv2GNtFe+HqxAkEbuEN2MpE7UEhA+Nd0Q+psjqHKdGQwJFEG21m+Ql6BP3ROWwPKSK
	 8mOjXzAQR/Mb+Pc2C8F5sqWOjqY8mKFrkTFIXLCg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53FA53858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 53FA53858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759481095; cv=none;
 b=u/r1Z3BMf+Q91IKoiZAYz1jPHCq2k1HP1KYWsh8ZJErHdhiICZtCxAdSYwh8enbG+4MM8kT+pY0unUuRpCkcNnY1JjW976YHmexQ1C/UU+eAXBbpdLV8hdeVPQHqLVuRACveeo99KPlAh5SPznyUknP5taxMzKBuobeMbRRo190=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1759481095; c=relaxed/simple;
 bh=40cWM14glJABnz2qP+d87DtrY3orKu4cgv0l87h4Gbg=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=Ce7R0UHJfhzX97hkmLj9DQ1bTnsww2szbV2cHmBFeFv5JozIC0nfRFkf5gKBFAa+aR1gAxqRPoCmQAd6sHcMPoGtODyytr36f+Txfg3jpwXgADhjiu2k4rHQQTu1L9LpfFRgd5tUH+xD8hIj6n4cVUQ4cvC3H8iftnH3v3374X4=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53FA53858D33
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1759481094; x=1760085894;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=40cWM14glJABnz2qP+d87DtrY3orKu4cgv0l87h4Gbg=;
 b=uvSvBfusTf/7tnEAbOybgEGkIAQFA9u5pfmMyexSwYVfND38Gc41bVFYkF+I5Zi6YG
 mKfxsLqv0KZ13tfKKMgtRbr66LJT+auUcR5Lp8EWaw/qTdD6k6m2jgCD+8gWt3JZjkMv
 VwIzM9au5lZ5K7WVRGjBf+24yrfLjT+yHggr4MZAoIgURIuESSrpqNzNr9KQmDQmLX7d
 F6dWNc/UIVdL9gCrCm4nXo1l6nC+9O2YlYBOPo+POyZiVjt2VU8lYDl/r+wrWD9RRKkT
 uGOODLhvMB10+rqhdXpB5tT18azbSnNs2etO3aFGvZEaHwxJQkQbzwboG1QcvlgBZXPD
 w1fQ==
X-Gm-Message-State: AOJu0YxF7rgb+lTv6y0ZfuNuurKR4rYD+zy7/v2RWOCv/oL5aP128lIE
 sZi4mTeeKehMgUasr8igISDhJfUvmUaWPZpbGskzoS4Phkr3P7/Rvs2bRfO1mqQoZGXIxQD2tX1
 xDuyZ4gB3iNAlCr/FW6LqNC7NtScmjAiB7iuf
X-Gm-Gg: ASbGncvQWlIEsKOyGIvWG89ABR6Pf4O7zFRfO9p21UwVH5FulBPI/piMM6r2zV+prFh
 VNSc0G6la4I2WDyEOQI9/8rkLkxoN6VlNzuvkCupzpz6R0iW5QrQc+VSteFkm/HjamEJy2ZyqiQ
 pfqyKcSIlRZBV+E9CCgnUL8dihULC5TWJg9Eer+4LujXB50HKuow+dGzk7EqdbDhb0Y7XwBJkVl
 R0Mte2C+EoEmV4ofqg87q23nRwOM2nh
X-Google-Smtp-Source: AGHT+IG1z3s6Hc/3h1NQy1EYThqlNux+/Jrc3RLHBuK6KRSfW14ihM0b5NdJdNU0a8OTot97y1l3ZRPlDa0c+0D8U5I=
X-Received: by 2002:a05:651c:996:b0:336:8be2:a6d9 with SMTP id
 38308e7fff4ca-374c36b8294mr7207081fa.1.1759481093508; Fri, 03 Oct 2025
 01:44:53 -0700 (PDT)
MIME-Version: 1.0
Date: Fri, 3 Oct 2025 10:44:16 +0200
X-Gm-Features: AS18NWC3BVeU-Q7CKFa1DWkCgkLVS_YJ45zw21dlN1LV9R8Jphya5RDAQci3ua4
Message-ID: <CADbVcJffF00xyyLinwm9DsArqcva-fv2vCxppFaWNeW56zUnwA@mail.gmail.com>
Subject: Problem running 'find' command from inside a path with accents
To: cygwin@cygwin.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Antonio DiCesare via Cygwin <cygwin@cygwin.com>
Reply-To: Antonio DiCesare <antonio71.dicesare@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5938jxn2711240

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.

-- 
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

