[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: |
Fri, 23 Jul 2010 13:24:02 +0300 |
> Date: Fri, 23 Jul 2010 00:48:28 +0300
> From: Laimonas Vėbra <laimonas.vebra@gmail.com>
> CC: 6546@debbugs.gnu.org
>
> > Did you try to add a suitably-valued LANG variable to
> > process-environment? That would at least force Cygwin executables to
> > work in the Windows codepage.
>
> The only way it works is when i set LANG process-environment variable to
> the current windows locale codepage and 'coding-system-for-write' to the
> encoding/charset in which i'd like to grep.
That's the only way it's _supposed_ to work.
> That way it works, but i'm not sure (seriously doubt) if LANG/locale
> codepage, which differs from the actual args encoding, won't result in
> any ugly problems/bugs (e.g. sorting, piping to other apps)
You should set LANG to the current codepage and make sure
locale-coding-system is set to the same codepage. Then the Cygwin
programs invoked as Emacs subprocesses should do what you expect.
> If it really won't and this setup is "as it should be, intended", then
> this bug could be closed.
Yes, this is the only setup that is supposed to work.
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/01
- bug#6546: win32 grep/shell utf-8 encoding, Eli Zaretskii, 2010/07/01
- bug#6546: win32 grep/shell utf-8 encoding, Juanma Barranquero, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Juanma Barranquero, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Eli Zaretskii, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding, Juanma Barranquero, 2010/07/22
- bug#6546: win32 grep/shell utf-8 encoding,
Eli Zaretskii <=
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/23
- bug#6546: win32 grep/shell utf-8 encoding, Eli Zaretskii, 2010/07/23
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/23
- bug#6546: win32 grep/shell utf-8 encoding, Eli Zaretskii, 2010/07/23
- bug#6546: win32 grep/shell utf-8 encoding, Laimonas Vėbra, 2010/07/23