From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Unicode input on Windows Emacs: any plans? Date: Tue, 25 Mar 2014 15:40:29 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1395763118 14171 80.91.229.3 (25 Mar 2014 15:58:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2014 15:58:38 +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 16:58:49 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 1WSTkT-0003JB-VX for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 16:58:46 +0100 Original-Received: from localhost ([::1]:42511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSTkT-0006E1-MH for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2014 11:58:45 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!news.stack.nl!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Injection-Date: Tue, 25 Mar 2014 15:40:29 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="06ab0fed6ae52f560e1f8417db1ec81f"; logging-data="26226"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19buqLYzwvDD95jHzVaWOKd" User-Agent: slrn/pre1.0.0-18 (Linux) Cancel-Lock: sha1:BEJNfRTZ6Fx9Ra3g5HtwzBxcmkA= Original-Xref: usenet.stanford.edu gnu.emacs.help:204479 X-Mailman-Approved-At: Tue, 25 Mar 2014 11:58:31 -0400 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:96749 Archived-At: Is there any plan to have Unicode input enabled on Windows? Currently, this is what I’m forced to write about Emacs: 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 of the corresponding ToAscii() code.) In addition to 8-bitness, Emacs also suffers from check-for-specials-first syndrome… (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/KeyboardLayout.pm#Can_an_application_on_Windows_accept_keyboard_events?_Part_I:_insert_only and 3 following parts). Ilya P.S. I believe that until it was documented above, it was not known how to process Windows’ input correctly (and it is still not known how to do it CORRECTLY from console applications: I can find no way to find the input locale, so do not know how to distinguish a dead key from a possible part of “a command”). But now, when it IS documented, there IS a chance to make Emacs into a good citizen… P.P.S. The last time I inspected the source code of Emacs was several months ago; I could not post before, so maybe my info is obsolete now.