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: Eli Zaretskii
Subject: bug#6546: win32 grep/shell utf-8 encoding
Date: Thu, 01 Jul 2010 20:26:26 +0300

> Date: Thu, 01 Jul 2010 11:46:37 +0300
> From: Laimonas Vėbra <address@hidden>
> Cc: 
> 
> Maybe it's actually not the bug (but missing functionality), but how do 
> one should/could setup ones emacs && .emacs to grep files in utf-8 
> encoding?
> 
> grep 2.6.3 (cygwin) at last works correctly (coloring multibyte matches) 
> from win32 console (according to LANG environment settings), but no 
> matter how i've tried to push emacs (set-language-environment, 
> coding-system-for-(read|write), set-env in grep-setup-hook), it just 
> don't work, because somewhere inside the Emacs win32 stuff it sticks to 
> windows locale codepage and tries hard to convert to this 
> codepage/encoding before it passes arguments to shell. No wonder -- it 
> fails when it comes to unicode.

Did you try set-process-coding-system?






reply via email to

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