From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Laimonas =?UTF-8?Q?V=C4=97bra?= Newsgroups: gmane.emacs.bugs Subject: bug#6546: win32 grep/shell utf-8 encoding Date: Fri, 23 Jul 2010 18:50:54 +0300 Message-ID: <4C49BA5E.6080101@gmail.com> References: <4C2C55ED.3020207@gmail.com> <4C485199.7020501@gmail.com> <4C488CCC.6080107@gmail.com> <83k4oncmyp.fsf@gnu.org> <4C48BCAC.6040101@gmail.com> <83zkxits1p.fsf@gnu.org> <4C49910A.2010209@gmail.com> <83r5iutgy4.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279901430 2863 80.91.229.12 (23 Jul 2010 16:10:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 16:10:30 +0000 (UTC) Cc: 6546@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 23 18:10:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKpL-0004cK-6y for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jul 2010 18:10:26 +0200 Original-Received: from localhost ([127.0.0.1]:45239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcKpI-00046X-DR for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jul 2010 12:10:20 -0400 Original-Received: from [140.186.70.92] (port=39045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcKmk-0002k7-QD for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 12:07:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcKmg-0004Gh-9G for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 12:07:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34213) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKmg-0004GY-2U for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 12:07:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcKXa-0004q5-63; Fri, 23 Jul 2010 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Laimonas =?UTF-8?Q?V=C4=97bra?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6546-submit@debbugs.gnu.org id=B6546.127990026318578 (code B ref 6546); Fri, 23 Jul 2010 15:52:02 +0000 Original-Received: (at 6546) by debbugs.gnu.org; 23 Jul 2010 15:51:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKWc-0004pb-5N for submit@debbugs.gnu.org; Fri, 23 Jul 2010 11:51:02 -0400 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKWa-0004pO-OY for 6546@debbugs.gnu.org; Fri, 23 Jul 2010 11:51:01 -0400 Original-Received: by eyb7 with SMTP id 7so76563eyb.3 for <6546@debbugs.gnu.org>; Fri, 23 Jul 2010 08:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=jpVOxbKUJq7BpALjQjLZW1mRkEJ1JGKAtqKdoF/Qi80=; b=w6IwfsehDYyMto55MUU0puKX2t8vYuBt3BWlW0gnvlrtkuEEfBlLdRzJBlfHWPhFJ5 xLnMMbdABKn9uytQoYzttuBPJe3jN4Xtlzn9PCvhz2OuR0o3iioOGjQi4RJ/pIgl4BYB gsxlXX4ahCUD5pSIZdghlW6WIflpIfNWzHxx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Dc24Lnp4iShmxjLHIPfMLpn7WQL7IBbgAaNicVjBamOB7WgQU8YEc07B31MM3dGNxZ eMBbB4Maybj8miXnUbQ/T8udHKEpYZ99Az7jB72JczwHhJG5MysSOW4sBW/kiyjq6rJh eln7cec87W0HmF3HX/Dr6dcYG6YTK6TR63+Do= Original-Received: by 10.213.113.12 with SMTP id y12mr3387898ebp.53.1279900258044; Fri, 23 Jul 2010 08:50:58 -0700 (PDT) Original-Received: from [192.168.2.2] (lan-84-240-35-136.vln.skynet.lt [84.240.35.136]) by mx.google.com with ESMTPS id a48sm574191eei.18.2010.07.23.08.50.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jul 2010 08:50:57 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 In-Reply-To: <83r5iutgy4.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Jul 2010 11:52:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38830 Archived-At: Eli Zaretskii wrote: > You cannot easily change the locale of a Windows system by specifying > some environment variable. You need to actually switch it > system-wide. As long as we use ANSI APIs on Windows, we can only I am talking about LANG env settings, which we can freely change for the cygwin apps to act differently (as we need). > You can't, sorry. You can. That example was supposed to show, that you can freely change LANG variable and cygwin utils, which relies on it, acts appropriately. Well, you can't change it freely in the sense of Emacs setup ("workaround"), which requires, that LANG should be set the same as the current system locale in order for the Emacs to pass unicode/non-system-encoding args. So, i'm asking the same question again -- why do you think it's not worth to fix this Emacs setup restriction in order to work with cygwin apps like it's intended from cygwin/cmd shell (setting on the fly as needed whatever supported locale)?