help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode input on Windows Emacs: any plans?


From: Eli Zaretskii
Subject: Re: Unicode input on Windows Emacs: any plans?
Date: Tue, 25 Mar 2014 18:25:46 +0200

> From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
> Date: Tue, 25 Mar 2014 15:40:29 +0000 (UTC)
> 
> 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’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.)

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…

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/KeyboardLayout.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 several
>       months ago; I could not post before, so maybe my info is
>       obsolete now.

What version did you look in?

(This is not the best place to ask about Emacs development plans,
btw.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]