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


Message #14 received at 14985 <at> debbugs.gnu.org (full text, mbox):

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




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.