From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29837: UTF-16 char display problems and the macOS "character palette" Date: Sun, 24 Dec 2017 21:34:37 +0200 Message-ID: <83zi67j4xe.fsf@gnu.org> References: <20171224160053.GA71863@breton.holly.idiocy.org> <83bmiojc8y.fsf@gnu.org> <20171224182321.GA72021@breton.holly.idiocy.org> <834logj6nz.fsf@gnu.org> <20171224192807.GA73590@breton.holly.idiocy.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1514143996 13278 195.159.176.226 (24 Dec 2017 19:33:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Dec 2017 19:33:16 +0000 (UTC) Cc: 29837@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 24 20:33:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTC1F-0002sm-Ci for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Dec 2017 20:33:09 +0100 Original-Received: from localhost ([::1]:37030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTC3C-0002XA-FE for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Dec 2017 14:35:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTC35-0002Wt-U9 for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 14:35:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTC35-00031p-4k for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 14:35:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eTC35-00031b-14 for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 14:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eTC34-0006gE-IZ for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2017 14:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2017 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29837-submit@debbugs.gnu.org id=B29837.151414410125674 (code B ref 29837); Sun, 24 Dec 2017 19:35:02 +0000 Original-Received: (at 29837) by debbugs.gnu.org; 24 Dec 2017 19:35:01 +0000 Original-Received: from localhost ([127.0.0.1]:50944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTC33-0006fw-Hr for submit@debbugs.gnu.org; Sun, 24 Dec 2017 14:35:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eTC31-0006fh-AF for 29837@debbugs.gnu.org; Sun, 24 Dec 2017 14:35:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTC2s-0002u7-Ri for 29837@debbugs.gnu.org; Sun, 24 Dec 2017 14:34:54 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTC2s-0002u3-OA; Sun, 24 Dec 2017 14:34:50 -0500 Original-Received: from [176.228.60.248] (port=1791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eTC2q-0007UP-PP; Sun, 24 Dec 2017 14:34:50 -0500 In-reply-to: <20171224192807.GA73590@breton.holly.idiocy.org> (message from Alan Third on Sun, 24 Dec 2017 19:28:07 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:141466 Archived-At: > Date: Sun, 24 Dec 2017 19:28:07 +0000 > From: Alan Third > Cc: 29837@debbugs.gnu.org > > If I try to select utf-16 I get this > > set-keyboard-coding-system: Unsuitable coding system for keyboard: utf-16 > > and I used tab completion to find which other coding systems were > available but all the ones beginning utf-16 that I tried return the > same message. Oh, I now recollect that Handa-san said at some point that keyboard input doesn't support UTF-16... How do other macOS programs read UTF-16 keyboard input? Maybe you could use the same way to read the sequences, and then decode them internally as UTF-16 using coding.c facilities, and feed them into the Emacs event queue? Just a thought.