[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14985: 24.3; rgrep and accents
From: |
Stefan Monnier |
Subject: |
bug#14985: 24.3; rgrep and accents |
Date: |
Tue, 30 Jul 2013 11:21:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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