;;; subst-jis.el --- Unicode/JISX translation -*-coding: euc-jp;-*-
-;; Copyright (C) 2002 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2004
+;; National Institute of Advanced Industrial Science and Technology (AIST)
+;; Registration Number H14PRO021
;; Author: Dave Love <fx@gnu.org>
;; Keywords: i18n
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to
-;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Commentary:
;; Provides translation tables between Unicode and
;; japanese-jisx0208/japanese-jisx0212 charsets for use by the
-;; `utf-translate-cjk' option.
+;; `utf-translate-cjk-mode' option.
;;; Code:
(mapc
(lambda (pair)
(let ((unicode (car pair))
- (char (cadr pair)))
- ;; exclude non-CJK components from decode table
- (if (or (and (>= unicode #x2e80) (<= unicode #xd7a3))
- (and (>= unicode #xff00) (<= unicode #xffef)))
- (puthash unicode char ucs-unicode-to-mule-cjk))
+ (char (cadr pair))
+ (tail utf-translate-cjk-unicode-range))
+ ;; exclude non-supporting components from decode table
+ (if (utf-translate-cjk-substitutable-p unicode)
+ (puthash unicode char ucs-unicode-to-mule-cjk))
(puthash char unicode ucs-mule-cjk-to-unicode)))
'(
;; jisx0208
(#x9fa2 ?\8fíá)
(#x9fa3 ?\8fíâ)
(#x9fa5 ?\8fíã)
- (#xff5e ?\8f¢·)))
+ (#xff5e ?\8f¢·)
+
+ ;; jisx0201
+ (#xFF61 ?\8e¡)
+ (#xFF62 ?\\8e¢)
+ (#xFF63 ?\\8e£)
+ (#xFF64 ?\8e¤)
+ (#xFF65 ?\8e¥)
+ (#xFF66 ?\8e¦)
+ (#xFF67 ?\8e§)
+ (#xFF68 ?\8e¨)
+ (#xFF69 ?\8e©)
+ (#xFF6A ?\8eª)
+ (#xFF6B ?\8e«)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