From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6546: bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion) Date: Sun, 24 Apr 2022 15:31:27 +0300 Message-ID: <83a6caoe74.fsf@gnu.org> References: <4C2C55ED.3020207@gmail.com> <871qxmd71f.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25664"; mail-complaints-to="usenet@ciao.gmane.io" Cc: laimonas.vebra@gmail.com, 6546@debbugs.gnu.org, 6705@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 24 14:32:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nibPn-0006VX-Uw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Apr 2022 14:32:36 +0200 Original-Received: from localhost ([::1]:54756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nibPm-0005Fv-Kh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Apr 2022 08:32:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nibPG-0005EV-Cl for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 08:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nibPF-0004UL-OO for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 08:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nibPF-00086J-IH for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2022 08:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2022 12:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 6546-submit@debbugs.gnu.org id=B6546.165080351331124 (code B ref 6546); Sun, 24 Apr 2022 12:32:01 +0000 Original-Received: (at 6546) by debbugs.gnu.org; 24 Apr 2022 12:31:53 +0000 Original-Received: from localhost ([127.0.0.1]:57826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nibP7-00085r-FG for submit@debbugs.gnu.org; Sun, 24 Apr 2022 08:31:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nibP5-00085Y-Aw; Sun, 24 Apr 2022 08:31:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nibP0-0004RO-0T; Sun, 24 Apr 2022 08:31:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Htjr4ofLZwwdE2PbMzM2zAubO5hrkoHFheRj4tsUlGs=; b=Y2paP5xjKq3RY4sabL2I qCP2NpPDZp6eB58fD53bgN0IBvCDXrJaMDmrpx5HoO5KOqU3hqXsoZi0A/H8d3ypxa9sRStVqKdWX RtXOME+VNkocQndfbhkm6/r98V9PYr9AGxMsvpIa6OQqEBZdEFpFKZVH4/X0kiFPehtReKPNNIpa1 ZQE1BtX0O/oTMRECiDfAGqfas6cYRg2FhklhI6qIBCP6HsSMPYlGwpnPTvpgOGgjjiuyrDJ9ZwpBU 6HJvSt3qYy+XTlS0TnEYfSg79qU85v22IFj/zvOG8SrLkKqBQlGMGSPZX7AV6gLew+o2PnrtdrBJt q5vl5L0Fc+aVmA==; Original-Received: from [87.69.77.57] (port=3537 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nibOz-0000YR-2V; Sun, 24 Apr 2022 08:31:45 -0400 In-Reply-To: <871qxmd71f.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 24 Apr 2022 14:01:32 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230551 Archived-At: > From: Lars Ingebrigtsen > Date: Sun, 24 Apr 2022 14:01:32 +0200 > Cc: 6546@debbugs.gnu.org, 6705@debbugs.gnu.org > > Laimonas VÄ—bra writes: > > > Create utf-8 file with some unicode characters (Cyrillic, Baltic, > > whatever; not only ascii) and try to grep for some utf-8 strings from > > Emacs (M-x grep). > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > This was eleven years ago -- is this still an issue in recent > Emacs/Cygwin versions? (I can't recall seeing any recent reports about > this.) I think this bug should be closed. Support for mixing a native w32 Emacs with Cygwin external programs is limited where character encoding is involved because of the limitations of the APIs we use in Emacs to invoke external programs, and because native w32 bui8lds of external programs in most cases support only a single system codepage. So people who want to be able to invoke Cygwin programs from Emacs and play by Cygwin LANG and locale rules (which emulate quite well the Posix environment) should use a Cygwin build of Emacs.