(ids-read-buffer): Add setting for SW-JIGUGE-ddddd.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Sat, 29 May 2021 12:55:50 +0000 (21:55 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Sat, 29 May 2021 12:55:50 +0000 (21:55 +0900)
ids-read.el

index 54aff89..1693763 100644 (file)
@@ -1,6 +1,6 @@
 ;;; ids-read.el --- Reader for IDS-* files
 
-;; Copyright (C) 2002, 2003, 2004, 2020 MORIOKA Tomohiko
+;; Copyright (C) 2002, 2003, 2004, 2020, 2021 MORIOKA Tomohiko
 
 ;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
 ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode
                 ((string-match "CB\\([0-9]+\\)" chs)
                  (decode-char 'ideograph-cbeta
                               (string-to-int (match-string 1 chs))))
+                ((string-match "SW-JIGUGE-\\([0-9]+\\)" chs)
+                 (decode-char '=shuowen-jiguge
+                              (string-to-int (match-string 1 chs))))
                 ))
          (when char
            (when (and (>= (length ids) 3)