1 ;;; subst-gb2312.el --- Unicode/GB2312 translation -*-coding: euc-china;-*-
3 ;; Copyright (C) 2002, 2004 Free Software Foundation, Inc.
5 ;; Author: Dave Love <fx@gnu.org>
8 ;; This file is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; This file is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with GNU Emacs; see the file COPYING. If not, write to
20 ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
25 ;; Provides translation tables between Unicode and chinese-gb2312 for
26 ;; use by the `utf-translate-cjk-mode' option. See subst-jis.el for the
33 (let ((unicode (car pair
))
35 ;; exclude non-supporting components from decode table
36 (if (utf-translate-cjk-substitutable-p unicode
)
37 (puthash unicode char ucs-unicode-to-mule-cjk
))
38 (puthash char unicode ucs-mule-cjk-to-unicode
)))
7485 ;;; arch-tag: 369bc330-663d-4cc0-8ca9-45567586fb04
7486 ;;; subst-gb2312.el ends here