From: tomo Date: Wed, 6 Aug 2003 04:28:56 +0000 (+0000) Subject: (ids-read-buffer): Add setting for CDP-HHHH and HZKdd-HHHH. X-Git-Tag: ids-0_0-1~92 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5805dabd038e1acedfacb2f51173db3bc90f027d;p=chise%2Fids.git (ids-read-buffer): Add setting for CDP-HHHH and HZKdd-HHHH. --- diff --git a/ids-read.el b/ids-read.el index 19abb37..ecc92ff 100644 --- a/ids-read.el +++ b/ids-read.el @@ -1,6 +1,6 @@ ;;; ids-read.el --- Reader for IDS-* files -;; Copyright (C) 2002 MORIOKA Tomohiko +;; Copyright (C) 2002,2003 MORIOKA Tomohiko ;; Author: MORIOKA Tomohiko ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode @@ -50,6 +50,17 @@ chs) (decode-char 'japanese-jisx0208-1990 (string-to-int (match-string 1 chs) 16))) + ((string-match "CDP-\\([0-9A-F][0-9A-F][0-9A-F][0-9A-F]\\)" + chs) + (decode-char '=big5-cdp + (string-to-int (match-string 1 chs) 16))) + ((string-match + "HZK\\([0-9][0-9]\\)-\\([0-9A-F][0-9A-F][0-9A-F][0-9A-F]\\)" + chs) + (decode-char (intern + (format "=hanziku-%d" + (string-to-int (match-string 1)))) + (string-to-int (match-string 2 chs) 16))) ((string-match "M-\\([0-9]+\\)'" chs) (setq code (string-to-int (match-string 1 chs))) (map-char-attribute