From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: character encoding EMACS + WINDOWS +SHELL Date: Tue, 10 Aug 2010 19:23:43 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281461079 3418 80.91.229.12 (10 Aug 2010 17:24:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Aug 2010 17:24:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?UTF-8?Q?Pablo_Mercader_Alc=C3=A1ntara?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 10 19:24:34 2010 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.69) (envelope-from ) id 1OisZ0-0003WT-5H for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Aug 2010 19:24:34 +0200 Original-Received: from localhost ([127.0.0.1]:40121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OisYz-0006fG-Hx for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Aug 2010 13:24:33 -0400 Original-Received: from [140.186.70.92] (port=60412 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OisYa-0006eA-P6 for help-gnu-emacs@gnu.org; Tue, 10 Aug 2010 13:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OisYY-0006ma-Ue for help-gnu-emacs@gnu.org; Tue, 10 Aug 2010 13:24:08 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:49715) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OisYY-0006mT-Ql for help-gnu-emacs@gnu.org; Tue, 10 Aug 2010 13:24:06 -0400 Original-Received: by qwk4 with SMTP id 4so9609814qwk.0 for ; Tue, 10 Aug 2010 10:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Gx28M8limLVSyZiuWknY+Lwx2uuC3+n08JR8gbcBWAc=; b=pk+jPrVsD6qX8TgTwPHqSBKTymcOcjE8alsT80HfGrVu2mVoouMlI0X9CPBHamOElK QUMhm/ucfm2+Hz+afmp076dmx048nPt2MmIFsSRC27idvHl3SayhjKVJMVceqplN4Iyf yCAmMfwuKWD7khf8Toig8Dqi7YdZUP5FG57jI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=QaZFQMylvEBc4+vRrplZlUAk79BgbNGvMSKECcXVfjtT+NQrx3t30DRQoS0ziCx0DM 43uzsp1N5/C1A9pb7qRHUabwuxlpEwlroADktacPLX+5v0rLLYnehuL+5III1pFgGFxk hWKzCbxwKMO/gRr+btwsxgO4KkRlvxLLqzzgo= Original-Received: by 10.224.54.13 with SMTP id o13mr9868473qag.349.1281461043231; Tue, 10 Aug 2010 10:24:03 -0700 (PDT) Original-Received: by 10.229.54.80 with HTTP; Tue, 10 Aug 2010 10:23:43 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:74524 Archived-At: 2010/8/10 Pablo Mercader Alc=C3=A1ntara : > Because I want to explain it clear and fast I used an example (I'm on > windows XP SP2 using GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600): > > 1. I open notepad > 2. write "co=C3=B1o" > 3. I save "prueba.txt" and close > 4. then press "Start + r" > 5. and write cmd > 6. type "emacs -nw" (I want to use it in the shell) > 7. then in EMACS C-x C-f "prueba.txt" > 8. why is that instead of "co=C3=B1o" I get "co=C2=B1o"??, I read the man= ual already > (the powerful emac's manual) encoding, decoding, "International Character > Support page 186 and i still don't get it, I think is related to the wind= ows > shell encoding ?... > 9. I close emacs "C-x C-c" > 10 I type "EDIT.COM prueba.txt", puff ! the same "co=C2=B1o", ..., is the= re some > way to fix this? to display the right character "=C3=B1"? (I'm sure there= is some > way!) how?? i need to express myself I'd like to do it through EMACS + > WINDOWS + SHELL :) It is a bug in the display part of Emacs. I can confirm it is there in a trunk checkout from today. Please send a bug report.