aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2002-05-30 00:25:01 +0000
committerKenichi Handa2002-05-30 00:25:01 +0000
commit64762f77c04affa5c457e10bc3277999c054e9ff (patch)
tree70102a7fc30258da357edaa76e199b518be3e57e
parent70db2f06002287e37f3c8187ba766890e8b44c78 (diff)
downloademacs-64762f77c04affa5c457e10bc3277999c054e9ff.tar.gz
emacs-64762f77c04affa5c457e10bc3277999c054e9ff.zip
(chinese-gbk): Change :code-offset to
#x160000. (gb18030-2-byte, gb18030-4-byte-bmp, gb18030-4-byte-smp, gb18030-4-byte-ext-1, gb18030-4-byte-ext-2, gb18030): New charsets.
-rw-r--r--lisp/international/mule-conf.el49
1 files changed, 48 insertions, 1 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index 87299ef9782..34f31ed24a8 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -249,7 +249,7 @@
249 "GBK Chinese simplified." 249 "GBK Chinese simplified."
250 :short-name "GBK" 250 :short-name "GBK"
251 :code-space [#x40 #xFE #x81 #xFE] 251 :code-space [#x40 #xFE #x81 #xFE]
252 :code-offset #x150000 252 :code-offset #x160000
253 :unify-map "gbk") 253 :unify-map "gbk")
254(define-charset-alias 'cp936 'chinese-gbk) 254(define-charset-alias 'cp936 'chinese-gbk)
255 255
@@ -905,6 +905,53 @@
905 :map "ibm850") 905 :map "ibm850")
906(define-charset-alias 'cp850 'ibm850) 906(define-charset-alias 'cp850 'ibm850)
907 907
908(define-charset 'gb18030-2-byte
909 "GB18030 2-byte (0x814E..0xFEFE)"
910 :code-space [#x40 #xFE #x81 #xFE]
911 :supplementary-p t
912 :map "gb18030-2")
913
914(define-charset 'gb18030-4-byte-bmp
915 "GB18030 4-byte for BMP (0x81308130-0x8431A439)"
916 :code-space [#x30 #x39 #x81 #xFE #x30 #x39 #x81 #x84]
917 :supplementary-p t
918 :map "gb18030-4")
919
920(define-charset 'gb18030-4-byte-smp
921 "GB18030 4-byte for SMP (0x90308130-0xE3329A35)"
922 :code-space [#x30 #x39 #x81 #xFE #x30 #x39 #x90 #xE3]
923 :min-code '(#x9030 . #x8130)
924 :max-code '(#xE332 . #x9A35)
925 :supplementary-p t
926 :code-offset #x10000)
927
928(define-charset 'gb18030-4-byte-ext-1
929 "GB18030 4-byte (0x8431A530-0x8F39FE39)"
930 :code-space [#x30 #x39 #x81 #xFE #x30 #x39 #x84 #x8F]
931 :min-code '(#x8431 . #xA530)
932 :max-code '(#x8F39 . #xFE39)
933 :supplementary-p t
934 :code-offset #x200000 ; ... #x22484B
935 )
936
937(define-charset 'gb18030-4-byte-ext-2
938 "GB18030 4-byte (0xE3329A36-0xFE39FE39)"
939 :code-space [#x30 #x39 #x81 #xFE #x30 #x39 #xE3 #xFE]
940 :min-code '(#xE332 . #x9A36)
941 :max-code '(#xFE39 . #xFE39)
942 :supplementary-p t
943 :code-offset #X22484C ; ... #x279f93
944 )
945
946(define-charset 'gb18030
947 "GB18030"
948 :code-space [#x00 #xFF #x00 #xFE #x00 #xFE #x00 #xFE]
949 :min-code 0
950 :max-code '(#xFE39 . #xFE39)
951 :parents '(ascii gb18030-2-byte
952 gb18030-4-byte-bmp gb18030-4-byte-smp
953 gb18030-4-byte-ext-1 gb18030-4-byte-ext-2))
954
908(unify-charset 'chinese-gb2312) 955(unify-charset 'chinese-gb2312)
909(unify-charset 'chinese-gbk) 956(unify-charset 'chinese-gbk)
910(unify-charset 'chinese-cns11643-1) 957(unify-charset 'chinese-cns11643-1)