From: MORIOKA Tomohiko Date: Sat, 29 May 2021 12:55:50 +0000 (+0900) Subject: (ids-read-buffer): Add setting for SW-JIGUGE-ddddd. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=89c21d5e2120853324d9bbe4ec6215af9d74811c;p=chise%2Fids.git (ids-read-buffer): Add setting for SW-JIGUGE-ddddd. --- diff --git a/ids-read.el b/ids-read.el index 54aff89..1693763 100644 --- a/ids-read.el +++ b/ids-read.el @@ -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 ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode @@ -108,6 +108,9 @@ ((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)