emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired-do-find-regexp failure with latin-1 encoding


From: Eli Zaretskii
Subject: Re: dired-do-find-regexp failure with latin-1 encoding
Date: Sun, 29 Nov 2020 20:51:28 +0200

> Cc: stephen.berman@gmx.net, emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Sun, 29 Nov 2020 19:44:57 +0200
> 
> > Then I think injecting LC_ALL=C into the environment when running Grep
> > in this case makes the results more useful?  And we can then avoid
> > using -a?
> 
> I'm not so sure. LC_ALL=C seems more problematic than -a:
> 
> $ grep ф test.txt
> фыва
> $ grep -a ф test.txt
> фыва
> $ LC_ALL=C grep ф test.txt
> (nothing)

I guess this regression in Grep happened when they "internationalized"
the DFA code, sigh...

It almost sounds like we should develop our own replacement for Grep,
one that doesn't suffer from these problems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]