|
From: | Jason Rumney |
Subject: | Re: single-key-description no good for Japanese and Chinese chars |
Date: | Wed, 20 Sep 2006 22:54:21 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 |
Drew Adams wrote:
Are there keyboards that produce these keycodes? Or are these characters that are the result of an input method? Or are you just looping, potentially feeding single-key-description garbage?`single-key-description' returns the exact same key description for each key in the asian character sets (Japanese, Chinese, etc.). For example, for the different input events (keys) 20864 and 20992, the exact same description is given: "Character set JISX0208.1978 (Japanese): ISO-IR-42".
I don't think it is unreasonable for single-key-description to use the same description for these many thousands of characters especially if they are not produced directly by any keyboard in common use. There is nothing in the documentation that suggests that it should generate a unique value for every possible key sequence.
[Prev in Thread] | Current Thread | [Next in Thread] |