(char-db-coded-charset-priority-list): Use
authortomo <tomo>
Wed, 29 Dec 2004 09:38:30 +0000 (09:38 +0000)
committertomo <tomo>
Wed, 29 Dec 2004 09:38:30 +0000 (09:38 +0000)
`=jis-x0208@{1978|1983|1990}' instead of `japanese-jisx0208-1978',
`japanese-jisx0208' and `=jis-x0208-1990'.
(char-db-make-char-spec): Use coded-charset not found in
`char-db-coded-charset-priority-list' if a character can not be
represented by any coded-charset in
`char-db-coded-charset-priority-list' nor `=daikanwa'.

lisp/utf-2000/char-db-util.el

index 2b5fe43..66d3995 100644 (file)
     greek-iso8859-7
     thai-tis620
     =jis-x0208
-    japanese-jisx0208
+    =jis-x0208@1978
+    =jis-x0208@1983
     japanese-jisx0212
-    japanese-jisx0208-1978
     chinese-gb2312
     chinese-cns11643-1
     chinese-cns11643-2
     chinese-cns11643-5
     chinese-cns11643-6
     chinese-cns11643-7
-    =jis-x0208-1990
+    =jis-x0208@1990
     =jis-x0213-1-2000
     =jis-x0213-2-2000
     korean-ksc5601
                                         =daikanwa@rev2
                                         ;; =gt-k
                                         )))
+                            (setq ccs (charset-name ccs))
+                            (null (assq ccs char-spec))
                             (setq ret (encode-char char ccs 'defined-only)))
                        (setq char-spec (cons (cons ccs ret) char-spec))))
                  (if (null char-spec)