From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Codepages and shell function on w32 Date: Mon, 01 Jan 2007 06:08:08 +0000 Message-ID: <4598A548.7040702@gnu.org> References: <4597B981.9020506@gmail.com> <45987A73.6040702@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167631720 18894 80.91.229.12 (1 Jan 2007 06:08:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2007 06:08:40 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 07:08:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H1GLd-0003pO-MY for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 07:08:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1GLc-0002t2-V3 for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 01:08:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H1GLJ-0002rf-6B for emacs-devel@gnu.org; Mon, 01 Jan 2007 01:08:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H1GLG-0002pp-8U for emacs-devel@gnu.org; Mon, 01 Jan 2007 01:08:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1GLG-0002pl-0r for emacs-devel@gnu.org; Mon, 01 Jan 2007 01:08:14 -0500 Original-Received: from [194.106.33.237] (helo=outmail1.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H1GLD-0000EO-Hk; Mon, 01 Jan 2007 01:08:12 -0500 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id E7C7E507F6; Mon, 1 Jan 2007 06:08:10 +0000 (GMT) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: "Lennart Borgman (gmail)" In-Reply-To: <45987A73.6040702@gmail.com> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64594 Archived-At: Lennart Borgman (gmail) wrote: > I have no idea. I just sent this code in the hope that someone knew > and could correct it. It would be nice if we got it correct in the > release. There is no absolute "correct", as a user may run any programs from the command-line, not just native Windows console programs, and their input files could be in any encoding. In any case, hardcoding windows-1252 is clearly wrong in non-European locales. Why not just set the locale for dos-semantic shells and leave it at that?