From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id DF8F2385772C for ; Sat, 15 Apr 2023 05:10:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DF8F2385772C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id nLOHp6FrzuZMSnYBUpW1tD; Sat, 15 Apr 2023 05:10:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1681535448; bh=6fLo0hGuQdjifTWpHbHRHcPOY8S8R0qdEuu9lseQPp0=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To; b=G0/LjnAus7+hRqW7uq6lkXf6wVnP8V/dHnrgTXX2StGdyRgSjizAG55SSuayTzDZk uSHUuhADAxCoctCyiUvFsJE7bT7cRy70Z1iGIUWhoy4/5pOu69KUnsvBsQzih+JMu0 OdxK1enuPcCRtb+r+XdVIHYBgdQKMvkbosw20tDb9L7NAvRDVwAG2Wdk0AkNh43zVG JcSrWUPsMTsjR3Dcbha08Lfkev8QA4It5Hchc6h/E+Dnk9/bs6dn8qpmnw99dbw7Vi DnfRCPRtQs4ORksJezM6xzPhDUuw4yIYkneMnxYxGNypVUpH1iWGpZoHVTFLOKaAb8 0vKHQOefsBkkw== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id nYBTpwOD0yAOenYBTphnFu; Sat, 15 Apr 2023 05:10:48 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=643a31d8 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=8pif782wAAAA:8 a=jKANeVhERg3LecuqoVQA:9 a=QEXdDO2ut3YA:10 Message-ID: <60ce2271-99e4-3fc9-5073-7a36ba202c20@Shaw.ca> Date: Fri, 14 Apr 2023 23:10:47 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: cygwin@cygwin.com Subject: Re: Can not stat file with utf char U+F020 Content-Language: en-CA To: cygwin@cygwin.com Cc: Gionatan Danti References: <992b3c28d7f1cfc17f7c9bb47b53f770@assyoma.it> <8f4e63968f4cc73093f7ebbb32788286@assyoma.it> From: Brian Inglis Organization: Inglis In-Reply-To: <8f4e63968f4cc73093f7ebbb32788286@assyoma.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfO5D39OE9i1QnbelLIVBx6CRfEt8LhGeiKMbA4SkM2ZaTIVo93jKB1lFI6CSq0AYe78AYukoX3mEf0EUdeZhSos1YMpJITLtJGPjMHyVLrYQW1hjxJ/w nzYLu6v/XTbRgJTqnuFLZqhBZTIvZXz6KHvb97Qz841ozLKrURUxl0OIUjANx4Zx0/pub1UQ4fEKIGbjN8cUjA34rxOddFIsHLg= X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-04-14 14:17, Gionatan Danti via Cygwin wrote: > Il 2023-04-14 21:00 Corinna Vinschen ha scritto: >> There's no (good) solution from inside Cygwin. > Yeah, I can only imagine how difficult is to be compatible with posix, win32 and > the likes. >> Any chance you can just rename the files? > I renamed the files, in fact. > However, it seems that users working with (older?) Office for MAC use U+F020 > more frequently than I expected, maybe because of that [1]: > "Microsoft's defunct Services For Macintosh feature used U+F001 through U+F029 > as replacements for special characters allowed in HFS but forbidden in NTFS, and > U+F02A for the Apple logo." > Any chances to enable a "bypass" for these characters (excluding the one you > reserved for compatibility as explained detailed in the "Forbidden characters in > filenames")? Maybe hidden behind a configurable option (even disabled by > default), so to not interfere with the current behavior? > [1] https://en.wikipedia.org/wiki/Private_Use_Areas#Vendor_use Now if MS SfM and Cygwin had both registered with U/CSUR, they would not be fighting over Unicode code points, although it looks like there is a lot of competition for the code points! ;^> Would it make more sense to add custom file name character filters into some utility, such as unix2dos/mac2unix, cygpath, or some other, and add (Cyg)win, or create such a utility, so those could be added to processes? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry