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: Unicode input on Windows Emacs: any plans? Date: Tue, 25 Mar 2014 18:25:46 +0200 Message-ID: <83txamz1md.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1395766812 28928 80.91.229.3 (25 Mar 2014 17:00:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2014 17:00:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 25 18:00:21 2014 Return-path: Envelope-to: geh-help-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 1WSUi5-0003mY-3t for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 18:00:21 +0100 Original-Received: from localhost ([::1]:42931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUi4-0003Y8-QP for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 13:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUdB-0002HU-I9 for help-gnu-emacs@gnu.org; Tue, 25 Mar 2014 12:59:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSUAl-0001h9-JB for help-gnu-emacs@gnu.org; Tue, 25 Mar 2014 12:29:40 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:55364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUAl-0001gt-Av for help-gnu-emacs@gnu.org; Tue, 25 Mar 2014 12:25:55 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N3000J00332GU00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Tue, 25 Mar 2014 18:28:38 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3000IRX33QTC00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Tue, 25 Mar 2014 18:28:38 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96751 Archived-At: > From: Ilya Zakharevich > Date: Tue, 25 Mar 2014 15:40:29 +0000 (UTC) >=20 > Is there any plan to have Unicode input enabled on Windows? That ship sailed a long time ago. Emacs on Windows supports Unicode keyboard input on Windows NT and later since Aug 2012, and Emacs 24.3 was released with that feature. (This is limited to GUI sessions, since Unicode support in Windows console applications sucks big time, so much so that I consider it a waste of time and effort to support that in text mode.) > Currently, this is what I=E2=80=99m forced to write about Emacs: >=20 > NOTE: Among notable applications which fail spectacularly is > Emacs. The developers forget that for a generation, it is already > XXI century; so they use ToAscii() instead of ToUnicode()! (Even = if > ToUnicode() is available, its result is converted to the result o= f > the corresponding ToAscii() code.) This is inaccurate for the current Emacs: ToAscii is only used on Windows 9X, where Unicode keyboard input is not supported. > In addition to 8-bitness, Emacs also suffers from > check-for-specials-first syndrome=E2=80=A6 Not sure what is this about; please elaborate. > (from the discussion on how to implement a CORRECT Unicode input in= an > Event-loop application on Windows; see: > http://search.cpan.org/~ilyaz/UI-KeyboardLayout/lib/UI/KeyboardLa= yout.pm#Can_an_application_on_Windows_accept_keyboard_events?_Part_I:= _insert_only > and 3 following parts). We do use ToUnicode (on NT and later). > P.P.S. The last time I inspected the source code of Emacs was seve= ral > =09months ago; I could not post before, so maybe my info is > =09obsolete now. What version did you look in? (This is not the best place to ask about Emacs development plans, btw.)