unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Stefan Monnier <monnier-CRDzTM1onBSWkKpYnGOUKg@public.gmane.org>
Cc: 14985-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#14985: 24.3; rgrep and accents
Date: Tue, 30 Jul 2013 21:48:29 +0200	[thread overview]
Message-ID: <86iozrj0c2.fsf@somewhere.org> (raw)
In-Reply-To: <mailman.2157.1375197740.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Stefan Monnier's message of "Tue, 30 Jul 2013 11:21:18 -0400")

Stefan Monnier wrote:
>> If I call the command `rgrep' for recursively searching for the string
>> `Contrat signé' 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.

Is there something I could try to force (some coding system variable) on
either side (Emacs or the Cygwin shell)?

Best regards,
  Seb

-- 
Sebastien Vauban





  parent reply	other threads:[~2013-07-30 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 14:47 bug#14985: 24.3; rgrep and accents Sebastien Vauban
2013-07-30 15:21 ` Stefan Monnier
2013-07-30 16:10 ` Eli Zaretskii
     [not found] ` <mailman.2157.1375197740.12400.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.2157.1375197740.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-30 19:48     ` Sebastien Vauban [this message]
2019-09-26 12:51 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86iozrj0c2.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=14985-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=monnier-CRDzTM1onBSWkKpYnGOUKg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).