delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/24/18:34:45

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56OMYi4L1661293
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 56OMYi4L1661293
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=qnQFrgFL
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF522385417D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1753396481;
bh=KcYIbnDoygtbQidVRudpGiKG1qLFS6vG8iL3VSEe9vg=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=qnQFrgFLe+3OqJ6B6AvriwN+u+7B5C//ldGzmeSptuha8XYnv5LPVxhWyNywOQZkz
XRIS7N0H7hoyqquELhQU2DpleFQZAij2hAGEWRRG7V3iBNAvLUn03EV/s5CGU7MIZr
gy+Cy+8WOQyFlrDEB3TvQNrvRdohSq+YwiEXTzNI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 303EE385DC0A
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 303EE385DC0A
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1753396409; cv=none;
b=TjNjJ3OcgO2xqdiGvBippeEcVYhO4IwO1KDJWNhj/DQFH9jjlz9AhrTGxOwXLUfTJFF1DsQ8xC6wdJOc0vFw1YO3GgeL5ErdoAcf1lCB1KI5kpqdIgoaJHkylGcWk31k+rZ8c1OPG21BKer3+EibotLYpuGWsNwp5NPWxFuYYG8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1753396409; c=relaxed/simple;
bh=W4z//sAsDgTQ2kiU5TwgqxeVdwGuGyv0X9APPqL+Tzo=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=gYRo1RulpyOcCNR2XN3XpkQJIDPpc4/4YPevLbTY+Vf8DDmpjLSGdRIpVyerf47zGvdAwfFPtUEy9tw1n+FFN6hGM5lRd1piB9hFDAVsWwlMSzAqHa0QzKkU1iuyBph7ISzh+SeMruOgsDUGzfv4rkzzIfslAOz03ANyOUTnVQY=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <fef13522-0575-4fba-94e2-c06ef6f23051@SystematicSW.ab.ca>
Date: Thu, 24 Jul 2025 16:33:26 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: readdir() returns inaccessible name if file was created with
invalid UTF-8
To: cygwin AT cygwin DOT com
References: <aF5y15iQ840LxLYJ AT calimero DOT vinschen DOT de>
<ca205dbd-907f-4552-9e5c-2cb0050f83a3 AT towo DOT net>
<aH-MtwqARmDmLwoo AT calimero DOT vinschen DOT de>
<91f26856-72b0-483b-8d04-bd90a27b6be0 AT towo DOT net>
<4ab2c1b7-3164-4556-ba36-29814ecf5766 AT towo DOT net>
<68f65634-8f4e-436b-ba6a-d30bdf882aaa AT towo DOT net>
<aICVBQzWUiCYwnL2 AT calimero DOT vinschen DOT de>
<11282182-60d1-4841-bf78-5ef78cf30060 AT towo DOT net>
<aIILWiKsr99DOaI8 AT calimero DOT vinschen DOT de>
<aec69850-227c-4c37-8aa9-6ea97dbec25b AT systematicsw DOT ab DOT ca>
<aIJTBuRjlVNDNWD7 AT calimero DOT vinschen DOT de>
Organization: Systematic Software
In-Reply-To: <aIJTBuRjlVNDNWD7@calimero.vinschen.de>
X-Stat-Signature: eg5ttpd15r5ma75j7ixo9put7yxx54t5
X-Rspamd-Server: rspamout07
X-Rspamd-Queue-Id: 2EA353E
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19i9M9niv9jeMksf9TG9656sEk9o2Rhjgg=
X-HE-Tag: 1753396407-559879
X-HE-Meta: U2FsdGVkX18fSLNH45IpYgXZ392sndlr61q/wjIbkltCLLJTIpLLRBqjsKl7Wj07eWML5u/y13vKawVcb/kirKzigB+dk/tnIwS0WpWehLWXTcUT00p80nMjYNqqUFcgWoGwHAmOSzpY57n4UJX2PSzGZzC1usrrgsCkrztITL5Jap8MwXr9ez4k7VWCjmrT/Dh9DtLynLucmrVctnXYBAmRIO5FAcz0kU7rP3lc6keMOVXg9I9WxpTlZIqJX5aE/fOAXWz0F5S2aB1Mg2Oas2o/61HImThrZn0dcCVv2i6HWk56QJQ3RLpfYuwwB9PqcurY0a3dXearacD2YU5r5WzqsVtmRXwl
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 56OMYi4L1661293

On 2025-07-24 09:36, Corinna Vinschen via Cygwin wrote:
> On Jul 24 09:28, Brian Inglis via Cygwin wrote:
>> On 2025-07-24 04:30, Corinna Vinschen via Cygwin wrote:
>>> Or shall simply go along with CESU-8 when converting back to multibyte
>>> to keep the string the same as with wcstombs?
>>
>> There are 15 * SMP as BMP characters, so many non-Western and emoji
>> characters will be expanded from 4 UTF-8 bytes to 6 CESU-8 bytes, and this
>> is not supported anywhere as a string representation, designed for internal
>> use only per the TR.
> 
> We're only talking about invalid sequences, not using CESU-8 throughout.

That was not clear, so then as they say "go along to get along"? ;^>

-- 
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 à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019