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: 24.1.50; Characters "=?UTF-8?Q?=C3=A1?=" and "=?UTF-8?Q?=C3=A9?=" are not correctly displayed on a Windows terminal Date: Fri, 27 Jul 2012 21:22:02 +0300 Message-ID: <83txwthxo5.fsf@gnu.org> References: <83vchajyb1.fsf@gnu.org> <83txwujwyg.fsf@gnu.org> <83pq7ijv9m.fsf@gnu.org> <83k3xqjnns.fsf@gnu.org> <83hastk8i1.fsf@gnu.org> <83d33hk212.fsf@gnu.org> <83zk6li6gd.fsf@gnu.org> <87hastywxb.fsf@gnu.org> <83wr1phyio.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1343413330 5494 80.91.229.3 (27 Jul 2012 18:22:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2012 18:22:10 +0000 (UTC) Cc: lekktu@gmail.com, 12055@debbugs.gnu.org To: jasonr@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 20:22:09 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 1SupAv-0007nf-4A for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jul 2012 20:22:09 +0200 Original-Received: from localhost ([::1]:46757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SupAu-0003Pl-6L for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jul 2012 14:22:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SupAr-0003PS-LC for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 14:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SupAq-0004NS-JA for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 14:22:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SupAq-0004NO-Fi for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 14:22:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SupHZ-0005lD-Jj for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 14:29:01 -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: Fri, 27 Jul 2012 18:29:01 +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.134341373722133 (code B ref 12055); Fri, 27 Jul 2012 18:29:01 +0000 Original-Received: (at 12055) by debbugs.gnu.org; 27 Jul 2012 18:28:57 +0000 Original-Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SupHV-0005kw-7Y for submit@debbugs.gnu.org; Fri, 27 Jul 2012 14:28:57 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:63132) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SupHS-0005km-Bl for 12055@debbugs.gnu.org; Fri, 27 Jul 2012 14:28:55 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7U00G0006P6W00@a-mtaout22.012.net.il> for 12055@debbugs.gnu.org; Fri, 27 Jul 2012 21:21:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7U00F0E0CIX080@a-mtaout22.012.net.il>; Fri, 27 Jul 2012 21:21:55 +0300 (IDT) In-reply-to: <83wr1phyio.fsf@gnu.org> 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:62469 Archived-At: > Date: Fri, 27 Jul 2012 21:03:43 +0300 > From: Eli Zaretskii > Cc: lekktu@gmail.com, 12055@debbugs.gnu.org > > So my current theory is that it is simply wrong to look at > uChar.UnicodeChar unless we call ReadConsoleInputW, the wide-character > version of the API. Forgot to tell an important detail: if I replace the call to ReadConsoleInput with ReadConsoleInputW, I do see the expected 0x05D0 etc. codes in uChar.UnicodeChar of each event, and Emacs inserts the correct characters into the buffer.