bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6546: win32 grep/shell utf-8 encoding


From: Laimonas Vėbra
Subject: bug#6546: win32 grep/shell utf-8 encoding
Date: Thu, 22 Jul 2010 17:11:37 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Juanma Barranquero wrote:

--------------------------------
Cyrillic follows:
ЁШејҘҘ
--------------------------------

M-x grep<RET>  ШејҘ 6546.txt<RET>

=>

-*- mode: grep; default-directory: "c:/emacs/repo/" -*-
Grep started at Thu Jul 22 14:46:58

grep -nH -e ШејҘ 6546.txt
6546.txt:2:ЁШејҘҘ

Grep finished (matches found) at Thu Jul 22 14:46:58


so I cannot reproduce it. Could you please send a step-by-step recipe,
starting from emacs -Q?

That means you are using gnu-win32 grep. Some older (2.5.4) and newer (2.6.3) cygwin greps won't work.

I don't believe cygwin grep (and other app) is going to be fixed/coded like (gnu-win32 app), because it's a matter how arguments are passed through winapi->cygwin (whole system) layers.

Besides, older (2.5.x) greps doesn't correctly color (multibyte) matches (try grep -nH -e 'Ш*' 6546.txt)






reply via email to

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