[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ucs method on non-supported unicode chars
From: |
Juanma Barranquero |
Subject: |
ucs method on non-supported unicode chars |
Date: |
Mon, 18 Dec 2006 12:21:24 +0100 |
With function `ucs-insert' (from lisp/international/ucs-tables.el):
M-x ucs-insert RET 4DF9 RET => "Character U+4DF9 is not yet
supported" (an error message).
With ucs input method:
U4DF9 => "ä·¹" (in the buffer).
Why does the ucs input method try to insert what it knows is an
unsupported character? In which way it is better to get "ä·¹" than a
helpful error message?
I ask because the behavior is clearly intentional. `utf-8-ccl-encode'
is defined in leim/quail/uni-input.el, and `ucs-input-method' includes
this error handling:
(if c
(list c)
(aset status 0 n)
(string-to-list (ccl-execute-on-string
'utf-8-ccl-encode status "")))
/L/e/k/t/u
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ucs method on non-supported unicode chars,
Juanma Barranquero <=