X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ids.el;h=c793a24911b207761c017930dfc2c6ac72e958e3;hb=db6638b0111941ac41d5030b725f1fb2baa9eac0;hp=ff19961f816eadc29e585fca3246ef4bcb617e48;hpb=e2b8622b95251cf7de6a8c8eadc3f19fa6ac5139;p=chise%2Fids.git diff --git a/ids.el b/ids.el index ff19961..c793a24 100644 --- a/ids.el +++ b/ids.el @@ -1,6 +1,6 @@ ;;; ids.el --- Parser and utility for Ideographic Description Sequence. -;; Copyright (C) 2001, 2002, 2003, 2005, 2020 MORIOKA Tomohiko +;; Copyright (C) 2001, 2002, 2003, 2005, 2020, 2021 MORIOKA Tomohiko ;; Author: MORIOKA Tomohiko ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode @@ -49,7 +49,10 @@ (memq (encode-char chr '=ucs-var-001) '(#x2FF0)) (memq (encode-char chr '=ucs-itaiji-001) - '(#x2FF9 #x2FF6))) + '(#x2FF1 #x2FF9 #x2FF6 #x2FFB)) + (memq (encode-char chr '=ucs-itaiji-002) + '(#x2FF1)) + ) (if (and ucs (<= #xE000 ucs)(<= ucs #xF8FF) (setq big5 (encode-char chr 'chinese-big5))) (setq chr (decode-char '=big5-cdp big5))) @@ -67,7 +70,10 @@ (memq (encode-char chr '=ucs-var-001) '(#x2FF0)) (memq (encode-char chr '=ucs-itaiji-001) - '(#x2FF9 #x2FF6))) + '(#x2FF1 #x2FF9 #x2FF6 #x2FFB)) + (memq (encode-char chr '=ucs-itaiji-002) + '(#x2FF1)) + ) (cons chr (substring string 1))))))