GNU bug report logs - #14985
24.3; rgrep and accents

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Tue, 30 Jul 2013 14:49:01 UTC

Severity: normal

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Sebastien Vauban" <sva-news <at> mygooglest.com>
Cc: 14985 <at> debbugs.gnu.org
Subject: bug#14985: 24.3; rgrep and accents
Date: Tue, 30 Jul 2013 11:21:18 -0400
> 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.


        Stefan




This bug report was last modified 5 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.