X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fmule%2Fmule-coding.el;h=61306aafbee16cc2c075c0a961f68815573aa960;hb=f25aa1d46f1ded748f0ea4bcf875441a538ec14a;hp=07e81041dc8a20088e79b8d442d8570104f03336;hpb=e641a992060dabef4609a39a7025a4712c680d5a;p=chise%2Fxemacs-chise.git diff --git a/lisp/mule/mule-coding.el b/lisp/mule/mule-coding.el index 07e8104..61306aa 100644 --- a/lisp/mule/mule-coding.el +++ b/lisp/mule/mule-coding.el @@ -4,7 +4,7 @@ ;; Licensed to the Free Software Foundation. ;; Copyright (C) 1995 Amdahl Corporation. ;; Copyright (C) 1995 Sun Microsystems. -;; Copyright (C) 1997 MORIOKA Tomohiko +;; Copyright (C) 1997,1999,2002 MORIOKA Tomohiko ;; This file is part of XEmacs. @@ -171,6 +171,31 @@ mnemonic "ISO7/Lock" )) +(when (featurep 'utf-2000) + (make-coding-system + 'utf-8-er 'utf-8 + "Coding-system of ISO/IEC 10646 UTF-8 with entity-reference." + '(mnemonic "UTF8" use-entity-reference t)) + + (setq coded-charset-entity-reference-alist + '((chinese-big5-cdp "CDP-" 4 X) + (ideograph-daikanwa "M-" 5 d) + (ideograph-cbeta "CB" 5 d) + (ideograph-gt "GT-" 5 d) + (japanese-jisx0208-1990 "J90-" 4 X) + (japanese-jisx0208 "J83-" 4 X) + (japanese-jisx0213-1 "JX1-" 4 X) + (japanese-jisx0213-2 "JX2-" 4 X) + (chinese-cns11643-1 "C1-" 4 X) + (chinese-cns11643-2 "C2-" 4 X) + (chinese-cns11643-3 "C3-" 4 X) + (chinese-cns11643-4 "C4-" 4 X) + (chinese-cns11643-5 "C5-" 4 X) + (chinese-cns11643-6 "C6-" 4 X) + (chinese-cns11643-7 "C7-" 4 X) + )) + ) + ;; initialize the coding categories to something semi-reasonable ;; so that the remaining Lisp files can contain extended characters. ;; (They will be in ISO-7 format)