comparison lisp/international/mule-conf.el @ 88675:20cca396a8ee

(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.
author Kenichi Handa <handa@m17n.org>
date Thu, 30 May 2002 00:25:01 +0000
parents e07dfc647a8b
children d203bf79d292
comparison
equal deleted inserted replaced
88674:264dcdcfe621 88675:20cca396a8ee
247 247
248 (define-charset 'chinese-gbk 248 (define-charset 'chinese-gbk
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
256 (define-charset 'chinese-cns11643-1 256 (define-charset 'chinese-cns11643-1
257 "CNS11643 Plane 1 Chinese traditional: ISO-IR-171" 257 "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
902 :short-name "IBM850" 902 :short-name "IBM850"
903 :ascii-compatible-p t 903 :ascii-compatible-p t
904 :code-space [0 255] 904 :code-space [0 255]
905 :map "ibm850") 905 :map "ibm850")
906 (define-charset-alias 'cp850 'ibm850) 906 (define-charset-alias 'cp850 'ibm850)
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))
907 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)
911 (unify-charset 'chinese-cns11643-2) 958 (unify-charset 'chinese-cns11643-2)