From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14985: 24.3; rgrep and accents Date: Tue, 30 Jul 2013 11:21:18 -0400 Message-ID: References: <86ppu0t88a.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375197786 13239 80.91.229.3 (30 Jul 2013 15:23:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 15:23:06 +0000 (UTC) Cc: 14985@debbugs.gnu.org To: "Sebastien Vauban" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 17:23:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4BlP-0006aO-JT for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 17:23:03 +0200 Original-Received: from localhost ([::1]:54624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4BlP-0006wT-5Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 11:23:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4BkY-0005IR-N1 for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 11:22:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4BkQ-0005FJ-EZ for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 11:22:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4BkQ-0005FD-Bh for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 11:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V4BkP-0007P6-RG for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 11:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2013 15:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14985 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14985-submit@debbugs.gnu.org id=B14985.137519768728369 (code B ref 14985); Tue, 30 Jul 2013 15:22:01 +0000 Original-Received: (at 14985) by debbugs.gnu.org; 30 Jul 2013 15:21:27 +0000 Original-Received: from localhost ([127.0.0.1]:58588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4Bjq-0007NU-Rh for submit@debbugs.gnu.org; Tue, 30 Jul 2013 11:21:27 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:62646) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4Bjp-0007N9-2k for 14985@debbugs.gnu.org; Tue, 30 Jul 2013 11:21:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEJABK/CFFFxJpK/2dsb2JhbABEvgsEBHsXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOkeoFegxM X-IPAS-Result: AlEJABK/CFFFxJpK/2dsb2JhbABEvgsEBHsXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20166317" Original-Received: from 69-196-154-74.dsl.teksavvy.com (HELO pastel.home) ([69.196.154.74]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Jul 2013 11:21:12 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 90E0366215; Tue, 30 Jul 2013 11:21:18 -0400 (EDT) In-Reply-To: <86ppu0t88a.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 30 Jul 2013 16:47:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76813 Archived-At: > If I call the command `rgrep' for recursively searching for the string > `Contrat sign=E9' in some directory, I get "no matches found". [...] > If I copy/paste the above (huge) `grep-find' command into a Cygwin (Zsh) > shell, there it works... [...] > Important settings: > value of $LANG: en_US.utf8 > locale-coding-system: cp1252 My guess: Emacs encodes the command-line with the locale-coding-system (i.e. cp1252) whereas your files use utf-8 and the Cygwin shell probably also just uses the $LANG setting. Other guess: the problem might disappear under a Cygwin build of Emacs. I'm not sure how we could fix this problem. Stefan