From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12055: Re: Re: bug#12055: 24.1.50; Characters "=?UTF-8?Q?=C3=A1?=" and "=?UTF-8?Q?=C3=A9?=" are not correctly displayed on a Windows terminal Date: Thu, 26 Jul 2012 20:18:45 +0300 Message-ID: <83pq7ijv9m.fsf@gnu.org> References: <83vchajyb1.fsf@gnu.org> <83txwujwyg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1343323161 723 80.91.229.3 (26 Jul 2012 17:19:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 17:19:21 +0000 (UTC) Cc: 12055@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 19:19:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SuRiW-00007I-N8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 19:19:16 +0200 Original-Received: from localhost ([::1]:47758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRiW-0002mi-0j for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 13:19:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRiR-0002bc-VI for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:19:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuRiQ-0007Dk-RW for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:19:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRiQ-0007Df-Nl for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:19:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SuRp4-0001cc-4D for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jul 2012 17:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12055 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12055-submit@debbugs.gnu.org id=B12055.13433235366203 (code B ref 12055); Thu, 26 Jul 2012 17:26:02 +0000 Original-Received: (at 12055) by debbugs.gnu.org; 26 Jul 2012 17:25:36 +0000 Original-Received: from localhost ([127.0.0.1]:41353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuRoe-0001c0-EL for submit@debbugs.gnu.org; Thu, 26 Jul 2012 13:25:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54489) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuRob-0001br-LI for 12055@debbugs.gnu.org; Thu, 26 Jul 2012 13:25:34 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7S002002Q7DN00@a-mtaout22.012.net.il> for 12055@debbugs.gnu.org; Thu, 26 Jul 2012 20:18:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7S001BX2R4Q7D0@a-mtaout22.012.net.il>; Thu, 26 Jul 2012 20:18:40 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62426 Archived-At: > From: Juanma Barranquero > Date: Thu, 26 Jul 2012 18:49:33 +0200 > Cc: dmoncayo@gmail.com, 12055@debbugs.gnu.org >=20 > On Thu, Jul 26, 2012 at 6:42 PM, Eli Zaretskii wrote= : >=20 > > Does it help to say > > > > C-x RET t cp850 RET > > C-x RET k cp850 RET > > > > before typing those characters? Do they display correctly then, = and > > most importantly, does "C-u C-x =3D" report in that case the char= acters > > you really intended to type? >=20 > No. The problem worsens. Now =C3=A1 =C3=A9 are still incorrect, and= =C3=AD =C3=B3 =C3=BA =C3=B1 =C3=A7 > turn into =C2=A1 =C2=A2 =C2=A3 =C2=A4=E2=80=A1 \207 What are the codes of these characters, as "C-u C-x =3D" sees them? > Note: I see that at some point in the past I surely hit the problem > and for some reason I failed to report it, because I have this in m= y > .emacs: >=20 > (unless (or window-system noninteractive > (not (boundp 'w32-ansi-code-page))) > (let ((cicp (w32-get-console-codepage)) > (cocp (w32-get-console-output-codepage))) > (w32-set-console-codepage w32-ansi-code-page) > (w32-set-console-output-codepage w32-ansi-code-page) > (add-hook 'kill-emacs-hook > `(lambda () > (w32-set-console-codepage ,cicp) > (w32-set-console-output-codepage ,cocp))))) >=20 > though that's irrelevant to the tests above, which are all -Q -nw. Does the above solve the problem at hand, though? If it does, we can do that at startup in the -nw session.