|
From: | Laimonas Vėbra |
Subject: | bug#6546: win32 grep/shell utf-8 encoding |
Date: | Thu, 22 Jul 2010 21:24:12 +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:
On Thu, Jul 22, 2010 at 16:11, Laimonas Vėbra<laimonas.vebra@gmail.com> wrote:That means you are using gnu-win32 grep. Some older (2.5.4) and newer (2.6.3) cygwin greps won't work.Sorry, I missed that in your original report. Did you try adding an entry to `process-coding-system-alist'?
The problem is not here. I can change the encoding of the command string (which is passed to external cygwin apps) using coding-system-for-write. It works (converted correctly utf-8->cp1257, cp1251, etc), but it doesn't help, because of the way the args (command line) are passed/transcoded through the winapi (CreateProcessA) and cygwin layer. This bug is related to bug#6705 (there are detailed description of what's happening)
[Prev in Thread] | Current Thread | [Next in Thread] |