delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/29/18:48:49

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 58TMmmNZ2462152
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 58TMmmNZ2462152
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=x6B/WcUx
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6CF193857C6C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1759186126;
bh=Kv+KBnJ77MsCVbYWJXLdzWrT+nFlHFDVnhfLc2iJLpE=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=x6B/WcUxzFDEneAV1wiacjZ5kpU9V6H7IWexdqvALzCncdodUvkpJ56fyG/DvyCZU
gA1CvvH91/N/TLYc9KfKKDnR9MV9BC7tVFnNOXniidn78vLOhoshRR2y2jdCJwPf3e
C7dB5aGJIg5ClaOnxMvP6VAkNlsveuXgOGdrGEM0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5BC7F3858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5BC7F3858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759186066; cv=none;
b=HxuMQYwKPYjp72lSKSV1gWbc5BE1R2/hliXCmXpwVYieJnUnxG0yomVQ3enqUMRCGjlORBXNfSLaw/KDGbmo6Sp6wIhSVTjXQ+JDGyLu+/Gm9MvKYTJhjLjGsOeLBovJeksQThmp9XDpyNIUNdR6A8fUGlSYrkDi/uzlf7aWQJA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1759186066; c=relaxed/simple;
bh=hGLbRmygiKv67sibTwl2k1txRy95iaUQ61YSbTON3Q4=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=aRmVozOr/GVCA83bpCV2Nu255LZJ+o6i6YqVm+rB3xMtL1TN4VV3a1uIguZG6ML8Pm/PZwybwZzxCSBhej0n5/UifWdljhSlsBwXepEfiWx1Eau7m0wYIDs+uYr8AnabsjdSMBb1chFvUVDUn43u7G0Yh41ROT9/2VmA3KMxCh4=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BC7F3858D1E
Message-ID: <1de245fd-88e6-404b-b538-e31e7344ab92@maxrnd.com>
Date: Mon, 29 Sep 2025 15:47:45 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: sed in Cygwin 3.6.4 cannot handle Unicode characters beyond BMP
To: Cygwin List <cygwin AT cygwin DOT com>
References: <CADxVF5dgRgfHt-k6UKZv6wzLj7Pq4NsoqJrCTV+a+FUnjp08NQ AT mail DOT gmail DOT com>
In-Reply-To: <CADxVF5dgRgfHt-k6UKZv6wzLj7Pq4NsoqJrCTV+a+FUnjp08NQ@mail.gmail.com>
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: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd DOT com>
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 58TMmmNZ2462152

Hello Mariusz,

On 9/26/2025 3:31 AM, Mariusz Wodzicki via Cygwin wrote:
> An example of the behavior:
> 
> echo "A" | sed "s/A/𝐀/g"
> 
> produces (in mintty and in Windows Terminal, both running bash)
> 
> sed: is_mb_char: mbrtowc (0x80) returned 3
> 
> My understanding is that this is due to the issue reported by Thomas Wolff
> on July 22:
> https://cygwin.com/pipermail/cygwin/2025-July/258513.html
> 
> Any news about when this bug in Cygwin 3.6.4 will be fixed?

It appears the original issue report by Thomas was never answered.
I will follow up on that email thread.

I cannot tell if the issue has been fixed in (the yet unreleased) 3.6.5 
but your example behaves correctly in test release 3.7.0-dev-139.
Thanks for the reminder!

..mark

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