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: Stephen Berman
Subject: Re: dired-do-find-regexp failure with latin-1 encoding
Date: Sun, 29 Nov 2020 20:49:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Sun, 29 Nov 2020 21:07:49 +0200 Dmitry Gutov <dgutov@yandex.ru> wrote:

> On 29.11.2020 20:51, Eli Zaretskii wrote:
>>> 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...
>
> Sorry, I double-checked, and it seems to have been caused by my terminal
> emulator too: if I set LC_ALL in Emacs and do a search through shell-command
> or dired-do-find-regexp, it succeeds.
>
> You might want to verify this yourself, though.

FWIW, here with both xterm and xfce4-terminal `LC_ALL=C grep ф test.txt'
returns `фыва'.  My locale is en_US.UTF-8.

Steve Berman



reply via email to

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