From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Windows + Eshell: fixing character encoding? Date: Wed, 29 Jul 2009 19:10:53 +0300 Message-ID: <833a8ftqpe.fsf@gnu.org> References: <662CA5EB-23A6-4BE6-B35A-2B0FA4AE94A4@Web.DE> <9bd8a08a0907290438x1d22ac26nbf2330c32d562675@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1248884561 2249 80.91.229.12 (29 Jul 2009 16:22:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2009 16:22:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 29 18:22:35 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWBvF-0007JF-Rh for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jul 2009 18:22:34 +0200 Original-Received: from localhost ([127.0.0.1]:55358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWBvE-00067s-UY for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jul 2009 12:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWBk3-0007Ec-63 for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 12:10:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWBk1-0007BM-3s for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 12:10:57 -0400 Original-Received: from [199.232.76.173] (port=48260 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWBk0-0007B8-Vd for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 12:10:57 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:10068 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWBk0-0003Pl-FD for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 12:10:56 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KNJ00800WG7M400@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:10:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.9.254]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KNJ00DLOWY4HFQ1@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:10:53 +0300 (IDT) In-reply-to: <9bd8a08a0907290438x1d22ac26nbf2330c32d562675@mail.gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66487 Archived-At: > Date: Wed, 29 Jul 2009 11:38:07 +0000 > From: Elena Garrulo > Cc: help-gnu-emacs@gnu.org >=20 > 2009/7/29 Peter Dyballa : > > From where do you know that \205 and \212 stand for =E0 and =E8 e= tc.? >=20 > Because I know the italian words the program is outputting: "gi= =E0" -> > "gi\205", "=E8" -> "\212". That's not a proof. Peter is right, the octal escapes you see are no= t the codepoints of the Latin-1 characters you expect to see. In fact, these codepoints are invalid in Latin-1. I suspect that the programs you run from Eshell (which programs are those, by the way?) produce a Windows codepage encoding, not a Latin-= 1 encoding. I have a few more questions: . What is the value of default-process-coding-system? . What is the value of locale-coding-system? . Does the problem happens in Emacs invoked as "emacs -Q"?