1 ;;; mule-conf.el --- configure multilingual environment
3 ;; Copyright (C) 1997-2015 Free Software Foundation, Inc.
4 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
5 ;; National Institute of Advanced Industrial Science and Technology (AIST)
6 ;; Registration Number H14PRO021
8 ;; National Institute of Advanced Industrial Science and Technology (AIST)
9 ;; Registration Number H13PRO009
11 ;; Keywords: i18n, mule, multilingual, character set, coding system
13 ;; This file is part of GNU Emacs.
15 ;; GNU Emacs is free software: you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation, either version 3 of the License, or
18 ;; (at your option) any later version.
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
30 ;; This file defines the Emacs charsets and some basic coding systems.
31 ;; Other coding systems are defined in the files in directory
38 ;; The ISO-IR registry is at http://www.itscj.ipsj.or.jp/ISO-IR/.
39 ;; Standards docs equivalent to iso-2022 and iso-8859 are at
40 ;; http://www.ecma.ch/.
42 ;; FWIW, http://www.microsoft.com/globaldev/ lists the following for
43 ;; MS Windows, which are presumably the only charsets we really need
44 ;; to worry about on such systems:
45 ;; `OEM codepages': 437, 720, 737, 775, 850, 852, 855, 857, 858, 862, 866
46 ;; `Windows codepages': 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257,
47 ;; 1258, 874, 932, 936, 949, 950
49 ;;; Definitions of character sets.
51 ;; The charsets `ascii', `unicode' and `eight-bit' are already defined
52 ;; in charset.c as below:
54 ;; (define-charset 'ascii
57 ;; :code-space [0 127]
59 ;; :ascii-compatible-p t
63 ;; (define-charset 'unicode
66 ;; :code-space [0 255 0 255 0 16]
67 ;; :ascii-compatible-p t
70 ;; (define-charset 'emacs
73 ;; :code-space [0 255 0 255 0 63]
74 ;; :ascii-compatible-p t
78 ;; (define-charset 'eight-bit
81 ;; :code-space [128 255]
82 ;; :code-offset #x3FFF80)
84 ;; We now set :docstring, :short-name, and :long-name properties.
87 'ascii
:docstring
"ASCII (ISO646 IRV)")
89 'ascii
:short-name
"ASCII")
91 'ascii
:long-name
"ASCII (ISO646 IRV)")
93 'iso-8859-1
:docstring
"Latin-1 (ISO/IEC 8859-1)")
95 'iso-8859-1
:short-name
"Latin-1")
97 'iso-8859-1
:long-name
"Latin-1")
99 'unicode
:docstring
"Unicode (ISO10646)")
100 (put-charset-property
101 'unicode
:short-name
"Unicode")
102 (put-charset-property
103 'unicode
:long-name
"Unicode (ISO10646)")
104 (put-charset-property
105 'emacs
:docstring
"Full Emacs charset (excluding eight bit chars)")
106 (put-charset-property
107 'emacs
:short-name
"Emacs")
108 (put-charset-property
109 'emacs
:long-name
"Emacs")
111 (put-charset-property 'eight-bit
:docstring
"Raw bytes 128-255")
112 (put-charset-property 'eight-bit
:short-name
"Raw bytes")
114 (define-charset-alias 'ucs
'unicode
)
116 (define-charset 'latin-iso8859-1
117 "Right-Hand Part of ISO/IEC 8859/1 (Latin-1): ISO-IR-100"
118 :short-name
"RHP of Latin-1"
119 :long-name
"RHP of ISO/IEC 8859/1 (Latin-1): ISO-IR-100"
125 ;; Name perhaps not ideal, but is XEmacs-compatible.
126 (define-charset 'control-1
127 "8-bit control code (0x80..0x9F)"
128 :short-name
"8-bit control code"
129 :code-space
[128 159]
132 (define-charset 'eight-bit-control
133 "Raw bytes in the range 0x80..0x9F (usually produced from invalid encodings)"
134 :short-name
"Raw bytes 0x80..0x9F"
136 :code-space
[128 159]
137 :code-offset
#x3FFF80
) ; see character.h
139 (define-charset 'eight-bit-graphic
140 "Raw bytes in the range 0xA0..0xFF (usually produced from invalid encodings)"
141 :short-name
"Raw bytes 0xA0..0xFF"
143 :code-space
[160 255]
144 :code-offset
#x3FFFA0
) ; see character.h
146 (defmacro define-iso-single-byte-charset
(symbol iso-symbol name nickname
150 (define-charset ,symbol
152 :short-name
,nickname
154 :ascii-compatible-p t
158 (define-charset ,iso-symbol
160 (format "Right-Hand Part of %s (%s): ISO-IR-%d"
161 ,name
,nickname
,iso-ir
)
162 (format "Right-Hand Part of %s (%s)" ,name
,nickname
))
163 :short-name
(format "RHP of %s" ,name
)
164 :long-name
(format "RHP of %s (%s)" ,name
,nickname
)
165 :iso-final-char
,iso-final
166 :emacs-mule-id
,emacs-mule-id
168 :subset
(list ,symbol
160 255 -
128)))))
170 (define-iso-single-byte-charset 'iso-8859-2
'latin-iso8859-2
171 "ISO/IEC 8859/2" "Latin-2" 101 ?B
130 "8859-2")
173 (define-iso-single-byte-charset 'iso-8859-3
'latin-iso8859-3
174 "ISO/IEC 8859/3" "Latin-3" 109 ?C
131 "8859-3")
176 (define-iso-single-byte-charset 'iso-8859-4
'latin-iso8859-4
177 "ISO/IEC 8859/4" "Latin-4" 110 ?D
132 "8859-4")
179 (define-iso-single-byte-charset 'iso-8859-5
'cyrillic-iso8859-5
180 "ISO/IEC 8859/5" "Latin/Cyrillic" 144 ?L
140 "8859-5")
182 (define-iso-single-byte-charset 'iso-8859-6
'arabic-iso8859-6
183 "ISO/IEC 8859/6" "Latin/Arabic" 127 ?G
135 "8859-6")
185 (define-iso-single-byte-charset 'iso-8859-7
'greek-iso8859-7
186 "ISO/IEC 8859/7" "Latin/Greek" 126 ?F
134 "8859-7")
188 (define-iso-single-byte-charset 'iso-8859-8
'hebrew-iso8859-8
189 "ISO/IEC 8859/8" "Latin/Hebrew" 138 ?H
136 "8859-8")
191 (define-iso-single-byte-charset 'iso-8859-9
'latin-iso8859-9
192 "ISO/IEC 8859/9" "Latin-5" 148 ?M
141 "8859-9")
194 (define-iso-single-byte-charset 'iso-8859-10
'latin-iso8859-10
195 "ISO/IEC 8859/10" "Latin-6" 157 ?V nil
"8859-10")
197 ;; http://www.nectec.or.th/it-standards/iso8859-11/
198 ;; http://www.cwi.nl/~dik/english/codes/8859.html says this is tis-620
200 (define-iso-single-byte-charset 'iso-8859-11
'thai-iso8859-11
201 "ISO/IEC 8859/11" "Latin/Thai" 166 ?T nil
"8859-11")
203 ;; 8859-12 doesn't (yet?) exist.
205 (define-iso-single-byte-charset 'iso-8859-13
'latin-iso8859-13
206 "ISO/IEC 8859/13" "Latin-7" 179 ?Y nil
"8859-13")
208 (define-iso-single-byte-charset 'iso-8859-14
'latin-iso8859-14
209 "ISO/IEC 8859/14" "Latin-8" 199 ?_
143 "8859-14")
211 (define-iso-single-byte-charset 'iso-8859-15
'latin-iso8859-15
212 "ISO/IEC 8859/15" "Latin-9" 203 ?b
142 "8859-15")
214 (define-iso-single-byte-charset 'iso-8859-16
'latin-iso8859-16
215 "ISO/IEC 8859/16" "Latin-10" 226 ?f nil
"8859-16")
217 ;; No point in keeping it around.
218 (fmakunbound 'define-iso-single-byte-charset
)
220 ;; Can this be shared with 8859-11?
221 ;; N.b. not all of these are defined in Unicode.
222 (define-charset 'thai-tis620
224 :short-name
"TIS620.2533"
230 ;; Fixme: doc for this, c.f. above
231 (define-charset 'tis620-2533
233 :short-name
"TIS620.2533"
234 :ascii-compatible-p t
236 :superset
'(ascii eight-bit-control
(thai-tis620 .
128)))
238 (define-charset 'jisx0201
240 :short-name
"JISX0201"
244 (define-charset 'latin-jisx0201
245 "Roman Part of JISX0201.1976"
246 :short-name
"JISX0201 Roman"
247 :long-name
"Japanese Roman (JISX0201.1976)"
252 :subset
'(jisx0201 33 126 0))
254 (define-charset 'katakana-jisx0201
255 "Katakana Part of JISX0201.1976"
256 :short-name
"JISX0201 Katakana"
257 :long-name
"Japanese Katakana (JISX0201.1976)"
262 :subset
'(jisx0201 161 254 -
128))
264 (define-charset 'chinese-gb2312
265 "GB2312 Chinese simplified: ISO-IR-58"
267 :long-name
"GB2312: ISO-IR-58"
270 :code-space
[33 126 33 126]
271 :code-offset
#x110000
274 (define-charset 'chinese-gbk
275 "GBK Chinese simplified."
277 :code-space
[#x40
#xFE
#x81
#xFE
]
278 :code-offset
#x160000
280 (define-charset-alias 'cp936
'chinese-gbk
)
281 (define-charset-alias 'windows-936
'chinese-gbk
)
283 (define-charset 'chinese-cns11643-1
284 "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
285 :short-name
"CNS11643-1"
286 :long-name
"CNS11643-1 (Chinese traditional): ISO-IR-171"
289 :code-space
[33 126 33 126]
290 :code-offset
#x114000
293 (define-charset 'chinese-cns11643-2
294 "CNS11643 Plane 2 Chinese traditional: ISO-IR-172"
295 :short-name
"CNS11643-2"
296 :long-name
"CNS11643-2 (Chinese traditional): ISO-IR-172"
299 :code-space
[33 126 33 126]
300 :code-offset
#x118000
303 (define-charset 'chinese-cns11643-3
304 "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183"
305 :short-name
"CNS11643-3"
306 :long-name
"CNS11643-3 (Chinese traditional): ISO-IR-183"
308 :code-space
[33 126 33 126]
310 :code-offset
#x11C000
313 (define-charset 'chinese-cns11643-4
314 "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184"
315 :short-name
"CNS11643-4"
316 :long-name
"CNS11643-4 (Chinese traditional): ISO-IR-184"
319 :code-space
[33 126 33 126]
320 :code-offset
#x120000
323 (define-charset 'chinese-cns11643-5
324 "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185"
325 :short-name
"CNS11643-5"
326 :long-name
"CNS11643-5 (Chinese traditional): ISO-IR-185"
329 :code-space
[33 126 33 126]
330 :code-offset
#x124000
333 (define-charset 'chinese-cns11643-6
334 "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186"
335 :short-name
"CNS11643-6"
336 :long-name
"CNS11643-6 (Chinese traditional): ISO-IR-186"
339 :code-space
[33 126 33 126]
340 :code-offset
#x128000
343 (define-charset 'chinese-cns11643-7
344 "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187"
345 :short-name
"CNS11643-7"
346 :long-name
"CNS11643-7 (Chinese traditional): ISO-IR-187"
349 :code-space
[33 126 33 126]
350 :code-offset
#x12C000
353 (define-charset 'big5
354 "Big5 (Chinese traditional)"
356 :code-space
[#x40
#xFE
#xA1
#xFE
]
357 :code-offset
#x130000
359 ;; Fixme: AKA cp950 according to
360 ;; <URL:http://www.microsoft.com/globaldev/reference/WinCP.asp>. Is
363 (define-charset 'chinese-big5-1
364 "Frequently used part (A141-C67E) of Big5 (Chinese traditional)"
365 :short-name
"Big5 (Level-1)"
366 :long-name
"Big5 (Level-1) A141-C67F"
370 :code-space
[#x21
#x7E
#x21
#x7E
]
371 :code-offset
#x135000
374 (define-charset 'chinese-big5-2
375 "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"
376 :short-name
"Big5 (Level-2)"
377 :long-name
"Big5 (Level-2) C940-FEFE"
381 :code-space
[#x21
#x7E
#x21
#x7E
]
382 :code-offset
#x137800
385 (define-charset 'japanese-jisx0208
386 "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87"
387 :short-name
"JISX0208"
388 :long-name
"JISX0208.1983/1990 (Japanese): ISO-IR-87"
391 :code-space
[33 126 33 126]
392 :code-offset
#x140000
393 :unify-map
"JISX0208")
395 (define-charset 'japanese-jisx0208-1978
396 "JISX0208.1978 Japanese Kanji (so called \"old JIS\"): ISO-IR-42"
397 :short-name
"JISX0208.1978"
398 :long-name
"JISX0208.1978 (JISC6226.1978): ISO-IR-42"
401 :code-space
[33 126 33 126]
402 :code-offset
#x144000
403 :unify-map
"JISC6226")
405 (define-charset 'japanese-jisx0212
406 "JISX0212 Japanese supplement: ISO-IR-159"
407 :short-name
"JISX0212"
408 :long-name
"JISX0212 (Japanese): ISO-IR-159"
411 :code-space
[33 126 33 126]
412 :code-offset
#x148000
413 :unify-map
"JISX0212")
415 ;; Note that jisx0213 contains characters not in Unicode (3.2?). It's
416 ;; arguable whether it should have a unify-map.
417 (define-charset 'japanese-jisx0213-1
418 "JISX0213.2000 Plane 1 (Japanese)"
419 :short-name
"JISX0213-1"
422 :unify-map
"JISX2131"
423 :code-space
[33 126 33 126]
424 :code-offset
#x14C000
)
426 (define-charset 'japanese-jisx0213-2
427 "JISX0213.2000 Plane 2 (Japanese)"
428 :short-name
"JISX0213-2"
431 :unify-map
"JISX2132"
432 :code-space
[33 126 33 126]
433 :code-offset
#x150000
)
435 (define-charset 'japanese-jisx0213-a
436 "JISX0213.2004 adds these characters to JISX0213.2000."
437 :short-name
"JISX0213A"
439 :code-space
[33 126 33 126]
443 (define-charset 'japanese-jisx0213.2004-
1
444 "JISX0213.2004 Plane1 (Japanese)"
445 :short-name
"JISX0213.2004-1"
447 :code-space
[33 126 33 126]
449 :superset
'(japanese-jisx0213-a japanese-jisx0213-1
))
451 (define-charset 'katakana-sjis
452 "Katakana part of Shift-JIS"
454 :code-space
[#xA1
#xDF
]
455 :subset
'(jisx0201 #xA1
#xDF
0)
458 (define-charset 'cp932-2-byte
459 "2-byte part of CP932"
462 :code-space
[#x40
#xFC
#x81
#xFC
]
465 (define-charset 'cp932
466 "CP932 (Microsoft shift-jis)"
467 :code-space
[#x00
#xFF
#x00
#xFE
]
469 :superset
'(ascii katakana-sjis cp932-2-byte
))
471 (define-charset 'korean-ksc5601
472 "KSC5601 Korean Hangul and Hanja: ISO-IR-149"
473 :short-name
"KSC5601"
474 :long-name
"KSC5601 (Korean): ISO-IR-149"
477 :code-space
[33 126 33 126]
478 :code-offset
#x279f94
; ... #x27c217
479 :unify-map
"KSC5601")
481 (define-charset 'big5-hkscs
482 "Big5-HKSCS (Chinese traditional, Hong Kong supplement)"
484 :code-space
[#x40
#xFE
#xA1
#xFE
]
485 :code-offset
#x27c218
; ... #x280839
486 :unify-map
"BIG5-HKSCS")
488 (define-charset 'cp949-2-byte
489 "2-byte part of CP949"
492 :code-space
[#x41
#xFE
#x81
#xFD
]
495 (define-charset 'cp949
498 :long-name
"CP949 (Korean)"
499 :code-space
[#x00
#xFE
#x00
#xFD
]
500 :superset
'(ascii cp949-2-byte
))
502 (define-charset 'chinese-sisheng
503 "SiSheng characters for PinYin/ZhuYin"
504 :short-name
"SiSheng"
505 :long-name
"SiSheng (PinYin/ZhuYin)"
509 :unify-map
"MULE-sisheng"
511 :code-offset
#x200000
)
513 ;; A subset of the 1989 version of IPA. It consists of the consonant
514 ;; signs used in English, French, German and Italian, and all vowels
515 ;; signs in the table. [says old MULE doc]
517 "IPA (International Phonetic Association)"
521 :unify-map
"MULE-ipa"
524 :code-offset
#x200080
)
526 (define-charset 'viscii
529 :long-name
"VISCII 1.1"
533 (define-charset 'vietnamese-viscii-lower
534 "VISCII1.1 lower-case"
535 :short-name
"VISCII lower"
536 :long-name
"VISCII lower-case"
540 :code-offset
#x200200
542 :unify-map
"MULE-lviscii")
544 (define-charset 'vietnamese-viscii-upper
545 "VISCII1.1 upper-case"
546 :short-name
"VISCII upper"
547 :long-name
"VISCII upper-case"
551 :code-offset
#x200280
553 :unify-map
"MULE-uviscii")
555 (define-charset 'vscii
556 "VSCII1.1 (TCVN-5712 VN1)"
561 (define-charset-alias 'tcvn-5712
'vscii
)
563 ;; Fixme: see note in tcvn.map about combining characters
564 (define-charset 'vscii-2
565 "VSCII-2 (TCVN-5712 VN2)"
569 (define-charset 'koi8-r
572 :ascii-compatible-p t
576 (define-charset-alias 'koi8
'koi8-r
)
578 (define-charset 'alternativnyj
580 :short-name
"alternativnyj"
581 :ascii-compatible-p t
583 :map
"ALTERNATIVNYJ")
585 (define-charset 'cp866
588 :ascii-compatible-p t
591 (define-charset-alias 'ibm866
'cp866
)
593 (define-charset 'koi8-u
596 :ascii-compatible-p t
600 (define-charset 'koi8-t
603 :ascii-compatible-p t
607 (define-charset 'georgian-ps
609 :short-name
"GEORGIAN-PS"
610 :ascii-compatible-p t
614 (define-charset 'georgian-academy
616 :short-name
"GEORGIAN-ACADEMY"
617 :ascii-compatible-p t
621 (define-charset 'windows-1250
622 "WINDOWS-1250 (Central Europe)"
623 :short-name
"WINDOWS-1250"
624 :ascii-compatible-p t
627 (define-charset-alias 'cp1250
'windows-1250
)
629 (define-charset 'windows-1251
630 "WINDOWS-1251 (Cyrillic)"
631 :short-name
"WINDOWS-1251"
632 :ascii-compatible-p t
635 (define-charset-alias 'cp1251
'windows-1251
)
637 (define-charset 'windows-1252
638 "WINDOWS-1252 (Latin I)"
639 :short-name
"WINDOWS-1252"
640 :ascii-compatible-p t
643 (define-charset-alias 'cp1252
'windows-1252
)
645 (define-charset 'windows-1253
646 "WINDOWS-1253 (Greek)"
647 :short-name
"WINDOWS-1253"
648 :ascii-compatible-p t
651 (define-charset-alias 'cp1253
'windows-1253
)
653 (define-charset 'windows-1254
654 "WINDOWS-1254 (Turkish)"
655 :short-name
"WINDOWS-1254"
656 :ascii-compatible-p t
659 (define-charset-alias 'cp1254
'windows-1254
)
661 (define-charset 'windows-1255
662 "WINDOWS-1255 (Hebrew)"
663 :short-name
"WINDOWS-1255"
664 :ascii-compatible-p t
667 (define-charset-alias 'cp1255
'windows-1255
)
669 (define-charset 'windows-1256
670 "WINDOWS-1256 (Arabic)"
671 :short-name
"WINDOWS-1256"
672 :ascii-compatible-p t
675 (define-charset-alias 'cp1256
'windows-1256
)
677 (define-charset 'windows-1257
678 "WINDOWS-1257 (Baltic)"
679 :short-name
"WINDOWS-1257"
680 :ascii-compatible-p t
683 (define-charset-alias 'cp1257
'windows-1257
)
685 (define-charset 'windows-1258
686 "WINDOWS-1258 (Viet Nam)"
687 :short-name
"WINDOWS-1258"
688 :ascii-compatible-p t
691 (define-charset-alias 'cp1258
'windows-1258
)
693 (define-charset 'next
696 :ascii-compatible-p t
700 (define-charset 'cp1125
704 :ascii-compatible-p t
706 (define-charset-alias 'ruscii
'cp1125
)
707 ;; Original name for cp1125, says Serhii Hlodin <hlodin@lutsk.bank.gov.ua>
708 (define-charset-alias 'cp866u
'cp1125
)
710 ;; Fixme: C.f. iconv, http://czyborra.com/charsets/codepages.html
711 ;; shows this as not ASCII compatible, with various graphics in
713 (define-charset 'cp437
714 "CP437 (MS-DOS United States, Australia, New Zealand, South Africa)"
717 :ascii-compatible-p t
720 (define-charset 'cp720
724 :ascii-compatible-p t
727 (define-charset 'cp737
731 :ascii-compatible-p t
734 (define-charset 'cp775
738 :ascii-compatible-p t
741 (define-charset 'cp851
745 :ascii-compatible-p t
748 (define-charset 'cp852
749 "CP852 (MS-DOS Latin-2)"
752 :ascii-compatible-p t
755 (define-charset 'cp855
756 "CP855 (IBM Cyrillic)"
759 :ascii-compatible-p t
762 (define-charset 'cp857
763 "CP857 (IBM Turkish)"
766 :ascii-compatible-p t
769 (define-charset 'cp858
770 "CP858 (Multilingual Latin I + Euro)"
773 :ascii-compatible-p t
775 (define-charset-alias 'cp00858
'cp858
) ; IANA has IBM00858/CP00858
777 (define-charset 'cp860
778 "CP860 (MS-DOS Portuguese)"
781 :ascii-compatible-p t
784 (define-charset 'cp861
785 "CP861 (MS-DOS Icelandic)"
788 :ascii-compatible-p t
791 (define-charset 'cp862
795 :ascii-compatible-p t
798 (define-charset 'cp863
799 "CP863 (MS-DOS Canadian French)"
802 :ascii-compatible-p t
805 (define-charset 'cp864
809 :ascii-compatible-p t
812 (define-charset 'cp865
813 "CP865 (MS-DOS Nordic)"
816 :ascii-compatible-p t
819 (define-charset 'cp869
820 "CP869 (IBM Modern Greek)"
823 :ascii-compatible-p t
826 (define-charset 'cp874
830 :ascii-compatible-p t
833 ;; For Arabic, we need three different types of character sets.
834 ;; Digits are of direction left-to-right and of width 1-column.
835 ;; Others are of direction right-to-left and of width 1-column or
837 (define-charset 'arabic-digit
839 :short-name
"Arabic digit"
846 (define-charset 'arabic-1-column
848 :short-name
"Arabic 1-col"
849 :long-name
"Arabic 1-column"
854 :code-offset
#x200100
)
856 (define-charset 'arabic-2-column
858 :short-name
"Arabic 2-col"
859 :long-name
"Arabic 2-column"
864 :code-offset
#x200180
)
867 ;; Codes 0x21..0x7E are mapped to Unicode U+0E81..U+0EDF.
868 ;; Not all of them are defined in Unicode.
870 "Lao characters (ISO10646 0E81..0EDF)"
878 (define-charset 'mule-lao
879 "Lao characters (ISO10646 0E81..0EDF)"
883 :superset
'(ascii eight-bit-control
(lao .
128)))
886 ;; Indian scripts. Symbolic charset for data exchange. Glyphs are
887 ;; not assigned. They are automatically converted to each Indian
888 ;; script which IS-13194 supports.
890 (define-charset 'indian-is13194
891 "7-bit representation of IS 13194 (ISCII) for Devanagari"
892 :short-name
"IS 13194 (DEV)"
893 :long-name
"Indian IS 13194 (DEV)"
898 :code-offset
#x180000
899 :unify-map
"MULE-is13194")
901 (let ((code-offset #x180100
))
902 (dolist (script '(devanagari sanskrit bengali tamil telugu assamese
903 oriya kannada malayalam gujarati punjabi
))
904 (define-charset (intern (format "%s-cdac" script
))
905 (format "Glyphs of %s script for CDAC font. Subset of `indian-glyph'."
906 (capitalize (symbol-name script
)))
907 :short-name
(format "CDAC %s glyphs" (capitalize (symbol-name script
)))
910 :code-offset code-offset
)
911 (setq code-offset
(+ code-offset
#x100
)))
913 (dolist (script '(devanagari bengali punjabi gujarati
914 oriya tamil telugu kannada malayalam
))
915 (define-charset (intern (format "%s-akruti" script
))
916 (format "Glyphs of %s script for AKRUTI font. Subset of `indian-glyph'."
917 (capitalize (symbol-name script
)))
918 :short-name
(format "AKRUTI %s glyphs" (capitalize (symbol-name script
)))
921 :code-offset code-offset
)
922 (setq code-offset
(+ code-offset
#x100
))))
924 (define-charset 'indian-glyph
925 "Glyphs for Indian characters."
926 :short-name
"Indian glyph"
930 :code-space
[32 127 32 127]
931 :code-offset
#x180100
)
933 ;; Actual Glyph for 1-column width.
934 (define-charset 'indian-1-column
935 "Indian charset for 1-column width glyphs."
936 :short-name
"Indian 1-col"
937 :long-name
"Indian 1 Column"
941 :code-space
[33 126 33 126]
942 :code-offset
#x184000
)
944 ;; Actual Glyph for 2-column width.
945 (define-charset 'indian-2-column
946 "Indian charset for 2-column width glyphs."
947 :short-name
"Indian 2-col"
948 :long-name
"Indian 2 Column"
952 :code-space
[33 126 33 126]
953 :code-offset
#x184000
)
955 (define-charset 'tibetan
958 :short-name
"Tibetan 2-col"
959 :long-name
"Tibetan 2 column"
962 :unify-map
"MULE-tibetan"
964 :code-space
[33 126 33 37]
965 :code-offset
#x190000
)
967 (define-charset 'tibetan-1-column
968 "Tibetan 1 column glyph"
969 :short-name
"Tibetan 1-col"
970 :long-name
"Tibetan 1 column"
974 :code-space
[33 126 33 37]
975 :code-offset
#x190000
)
977 ;; Subsets of Unicode.
978 (define-charset 'mule-unicode-2500-33ff
979 "Unicode characters of the range U+2500..U+33FF."
980 :short-name
"Unicode subset 2"
981 :long-name
"Unicode subset (U+2500..U+33FF)"
985 :code-space
[#x20
#x7f
#x20
#x47
]
988 (define-charset 'mule-unicode-e000-ffff
989 "Unicode characters of the range U+E000..U+FFFF."
990 :short-name
"Unicode subset 3"
991 :long-name
"Unicode subset (U+E000+FFFF)"
995 :code-space
[#x20
#x7F
#x20
#x75
]
997 :max-code
30015) ; U+FFFF
999 (define-charset 'mule-unicode-0100-24ff
1000 "Unicode characters of the range U+0100..U+24FF."
1001 :short-name
"Unicode subset"
1002 :long-name
"Unicode subset (U+0100..U+24FF)"
1006 :code-space
[#x20
#x7F
#x20
#x7F
]
1009 (define-charset 'unicode-bmp
1010 "Unicode Basic Multilingual Plane (U+0000..U+FFFF)"
1011 :short-name
"Unicode BMP"
1012 :code-space
[0 255 0 255]
1015 (define-charset 'unicode-smp
1016 "Unicode Supplementary Multilingual Plane (U+10000..U+1FFFF)"
1017 :short-name
"Unicode SMP "
1018 :code-space
[0 255 0 255]
1019 :code-offset
#x10000
)
1021 (define-charset 'unicode-sip
1022 "Unicode Supplementary Ideographic Plane (U+20000..U+2FFFF)"
1023 :short-name
"Unicode SIP"
1024 :code-space
[0 255 0 255]
1025 :code-offset
#x20000
)
1027 (define-charset 'unicode-ssp
1028 "Unicode Supplementary Special-purpose Plane (U+E0000..U+EFFFF)"
1029 :short-name
"Unicode SSP"
1030 :code-space
[0 255 0 255]
1031 :code-offset
#xE0000
)
1033 (define-charset 'ethiopic
1034 "Ethiopic characters for Amharic and Tigrigna."
1035 :short-name
"Ethiopic"
1036 :long-name
"Ethiopic characters"
1040 :unify-map
"MULE-ethiopic"
1041 :code-space
[33 126 33 126]
1042 :code-offset
#x1A0000
)
1044 (define-charset 'mac-roman
1046 :short-name
"Mac Roman"
1047 :ascii-compatible-p t
1051 ;; Fixme: modern EBCDIC variants, e.g. IBM00924?
1052 (define-charset 'ebcdic-us
1053 "US version of EBCDIC"
1054 :short-name
"EBCDIC-US"
1056 :mime-charset
'ebcdic-us
1059 (define-charset 'ebcdic-uk
1060 "UK version of EBCDIC"
1061 :short-name
"EBCDIC-UK"
1063 :mime-charset
'ebcdic-uk
1066 (define-charset 'ibm1047
1068 "IBM1047, `EBCDIC Latin 1/Open Systems' used by OS/390 Unix."
1069 :short-name
"IBM1047"
1071 :mime-charset
'ibm1047
1073 (define-charset-alias 'cp1047
'ibm1047
)
1075 (define-charset 'hp-roman8
1076 "Encoding used by Hewlet-Packard printer software"
1077 :short-name
"HP-ROMAN8"
1078 :ascii-compatible-p t
1082 ;; To make a coding system with this, a pre-write-conversion should
1083 ;; account for the commented-out multi-valued code points in
1085 (define-charset 'adobe-standard-encoding
1086 "Adobe `standard encoding' used in PostScript"
1087 :short-name
"ADOBE-STANDARD-ENCODING"
1088 :code-space
[#x20
255]
1091 (define-charset 'symbol
1092 "Adobe symbol encoding used in PostScript"
1093 :short-name
"ADOBE-SYMBOL"
1094 :code-space
[#x20
255]
1097 (define-charset 'ibm850
1098 "DOS codepage 850 (Latin-1)"
1099 :short-name
"IBM850"
1100 :ascii-compatible-p t
1103 (define-charset-alias 'cp850
'ibm850
)
1105 (define-charset 'mik
1106 "Bulgarian DOS codepage"
1108 :ascii-compatible-p t
1112 (define-charset 'ptcp154
1113 "ParaType codepage (Asian Cyrillic)"
1115 :ascii-compatible-p t
1117 :mime-charset
'pt154
1119 (define-charset-alias 'pt154
'ptcp154
)
1120 (define-charset-alias 'cp154
'ptcp154
)
1122 (define-charset 'gb18030-2-byte
1123 "GB18030 2-byte (0x814E..0xFEFE)"
1124 :code-space
[#x40
#xFE
#x81
#xFE
]
1128 (define-charset 'gb18030-4-byte-bmp
1129 "GB18030 4-byte for BMP (0x81308130-0x8431A439)"
1130 :code-space
[#x30
#x39
#x81
#xFE
#x30
#x39
#x81
#x84
]
1134 (define-charset 'gb18030-4-byte-smp
1135 "GB18030 4-byte for SMP (0x90308130-0xE3329A35)"
1136 :code-space
[#x30
#x39
#x81
#xFE
#x30
#x39
#x90
#xE3
]
1137 :min-code
'(#x9030 .
#x8130
)
1138 :max-code
'(#xE332 .
#x9A35
)
1140 :code-offset
#x10000
)
1142 (define-charset 'gb18030-4-byte-ext-1
1143 "GB18030 4-byte (0x8431A530-0x8F39FE39)"
1144 :code-space
[#x30
#x39
#x81
#xFE
#x30
#x39
#x84
#x8F
]
1145 :min-code
'(#x8431 .
#xA530
)
1146 :max-code
'(#x8F39 .
#xFE39
)
1148 :code-offset
#x200000
; ... #x22484B
1151 (define-charset 'gb18030-4-byte-ext-2
1152 "GB18030 4-byte (0xE3329A36-0xFE39FE39)"
1153 :code-space
[#x30
#x39
#x81
#xFE
#x30
#x39
#xE3
#xFE
]
1154 :min-code
'(#xE332 .
#x9A36
)
1155 :max-code
'(#xFE39 .
#xFE39
)
1157 :code-offset
#x22484C
; ... #x279f93
1160 (define-charset 'gb18030
1162 :code-space
[#x00
#xFF
#x00
#xFE
#x00
#xFE
#x00
#xFE
]
1164 :max-code
'(#xFE39 .
#xFE39
)
1165 :superset
'(ascii gb18030-2-byte
1166 gb18030-4-byte-bmp gb18030-4-byte-smp
1167 gb18030-4-byte-ext-1 gb18030-4-byte-ext-2
))
1169 (define-charset 'chinese-cns11643-15
1170 "CNS11643 Plane 15 Chinese Traditional"
1171 :short-name
"CNS11643-15"
1172 :long-name
"CNS11643-15 (Chinese traditional)"
1173 :code-space
[33 126 33 126]
1174 :code-offset
#x27A000
)
1176 (unify-charset 'chinese-gb2312
)
1177 (unify-charset 'chinese-gbk
)
1178 (unify-charset 'chinese-cns11643-1
)
1179 (unify-charset 'chinese-cns11643-2
)
1180 (unify-charset 'chinese-cns11643-3
)
1181 (unify-charset 'chinese-cns11643-4
)
1182 (unify-charset 'chinese-cns11643-5
)
1183 (unify-charset 'chinese-cns11643-6
)
1184 (unify-charset 'chinese-cns11643-7
)
1185 (unify-charset 'big5
)
1186 (unify-charset 'chinese-big5-1
)
1187 (unify-charset 'chinese-big5-2
)
1188 (unify-charset 'big5-hkscs
)
1189 (unify-charset 'korean-ksc5601
)
1190 (unify-charset 'vietnamese-viscii-lower
)
1191 (unify-charset 'vietnamese-viscii-upper
)
1192 (unify-charset 'chinese-sisheng
)
1193 (unify-charset 'ipa
)
1194 (unify-charset 'tibetan
)
1195 (unify-charset 'ethiopic
)
1196 (unify-charset 'indian-is13194
)
1197 (unify-charset 'japanese-jisx0208-1978
)
1198 (unify-charset 'japanese-jisx0208
)
1199 (unify-charset 'japanese-jisx0212
)
1200 (unify-charset 'japanese-jisx0213-1
)
1201 (unify-charset 'japanese-jisx0213-2
)
1204 ;; These are tables for translating characters on decoding and
1206 ;; Fixme: these aren't used now -- should they be?
1207 (setq standard-translation-table-for-decode nil
)
1209 (setq standard-translation-table-for-encode nil
)
1211 ;;; Make fundamental coding systems.
1213 ;; The coding system `no-conversion' and `undecided' are already
1214 ;; defined in coding.c as below:
1216 ;; (define-coding-system 'no-conversion
1218 ;; :coding-type 'raw-text
1220 ;; (define-coding-system 'undecided
1222 ;; :coding-type 'undecided
1225 (define-coding-system-alias 'binary
'no-conversion
)
1226 (define-coding-system-alias 'unix
'undecided-unix
)
1227 (define-coding-system-alias 'dos
'undecided-dos
)
1228 (define-coding-system-alias 'mac
'undecided-mac
)
1230 (define-coding-system 'prefer-utf-8
1231 "Like `undecided' but prefer UTF-8 when appropriate.
1232 On decoding, if the source contains 8-bit codes and they all
1233 are valid UTF-8 sequences, detect the source as UTF-8 encoding
1234 regardless of the coding priority.
1235 On encoding, if the source contains non-ASCII characters, encode them
1237 :coding-type
'undecided
1239 :charset-list
'(emacs)
1242 (define-coding-system 'raw-text
1243 "Raw text, which means text contains random 8-bit codes.
1244 Encoding text with this coding system produces the actual byte
1245 sequence of the text in buffers and strings. An exception is made for
1246 characters from the `eight-bit' character set. Each of them is encoded
1249 When you visit a file with this coding, the file is read into a
1250 unibyte buffer as is (except for EOL format), thus each byte of a file
1251 is treated as a character."
1252 :coding-type
'raw-text
1256 (define-coding-system 'no-conversion-multibyte
1257 "Like `no-conversion' but don't read a file into a unibyte buffer."
1258 :coding-type
'raw-text
1262 (define-coding-system 'iso-latin-1
1263 "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)."
1264 :coding-type
'charset
1266 :charset-list
'(iso-8859-1)
1267 :mime-charset
'iso-8859-1
)
1269 (define-coding-system-alias 'iso-8859-1
'iso-latin-1
)
1270 (define-coding-system-alias 'latin-1
'iso-latin-1
)
1272 ;; Coding systems not specific to each language environment.
1274 (define-coding-system 'emacs-mule
1275 "Emacs 21 internal format used in buffer and string."
1276 :coding-type
'emacs-mule
1277 :charset-list
'emacs-mule
1280 (define-coding-system 'utf-8
1281 "UTF-8 (no signature (BOM))"
1284 :charset-list
'(unicode)
1285 :mime-charset
'utf-8
)
1287 (define-coding-system 'utf-8-with-signature
1288 "UTF-8 (with signature (BOM))"
1291 :charset-list
'(unicode)
1294 (define-coding-system 'utf-8-auto
1295 "UTF-8 (auto-detect signature (BOM))"
1298 :charset-list
'(unicode)
1299 :bom
'(utf-8-with-signature . utf-8
))
1301 (define-coding-system-alias 'mule-utf-8
'utf-8
)
1303 (define-coding-system 'utf-8-emacs
1304 "Support for all Emacs characters (including non-Unicode characters)."
1307 :charset-list
'(emacs))
1309 ;; The encoding used internally. This encoding is meant to be able to save
1310 ;; any multibyte buffer without losing information. It can change between
1311 ;; Emacs releases, tho, so should only be used for internal files.
1312 (define-coding-system-alias 'emacs-internal
'utf-8-emacs-unix
)
1314 (define-coding-system 'utf-16le
1315 "UTF-16LE (little endian, no signature (BOM))."
1316 :coding-type
'utf-16
1318 :charset-list
'(unicode)
1320 :mime-text-unsuitable t
1321 :mime-charset
'utf-16le
)
1323 (define-coding-system 'utf-16be
1324 "UTF-16BE (big endian, no signature (BOM))."
1325 :coding-type
'utf-16
1327 :charset-list
'(unicode)
1329 :mime-text-unsuitable t
1330 :mime-charset
'utf-16be
)
1332 (define-coding-system 'utf-16le-with-signature
1333 "UTF-16 (little endian, with signature (BOM))."
1334 :coding-type
'utf-16
1336 :charset-list
'(unicode)
1339 :mime-text-unsuitable t
1340 :mime-charset
'utf-16
)
1342 (define-coding-system 'utf-16be-with-signature
1343 "UTF-16 (big endian, with signature (BOM))."
1344 :coding-type
'utf-16
1346 :charset-list
'(unicode)
1349 :mime-text-unsuitable t
1350 :mime-charset
'utf-16
)
1352 (define-coding-system 'utf-16
1353 "UTF-16 (detect endian on decoding, use big endian on encoding with BOM)."
1354 :coding-type
'utf-16
1356 :charset-list
'(unicode)
1357 :bom
'(utf-16le-with-signature . utf-16be-with-signature
)
1359 :mime-text-unsuitable t
1360 :mime-charset
'utf-16
)
1362 ;; Backwards compatibility (old names, also used by Mule-UCS). We
1363 ;; prefer the MIME names.
1364 (define-coding-system-alias 'utf-16-le
'utf-16le-with-signature
)
1365 (define-coding-system-alias 'utf-16-be
'utf-16be-with-signature
)
1368 (define-coding-system 'iso-2022-7bit
1369 "ISO 2022 based 7-bit encoding using only G0."
1370 :coding-type
'iso-2022
1372 :charset-list
'iso-2022
1373 :designation
[(ascii t
) nil nil nil
]
1374 :flags
'(short ascii-at-eol ascii-at-cntl
7-bit designation composition
))
1376 (define-coding-system 'iso-2022-7bit-ss2
1377 "ISO 2022 based 7-bit encoding using SS2 for 96-charset."
1378 :coding-type
'iso-2022
1380 :charset-list
'iso-2022
1381 :designation
[(ascii 94) nil
(nil 96) nil
]
1382 :flags
'(short ascii-at-eol ascii-at-cntl
7-bit
1383 designation single-shift composition
))
1385 (define-coding-system 'iso-2022-7bit-lock
1386 "ISO-2022 coding system using Locking-Shift for 96-charset."
1387 :coding-type
'iso-2022
1389 :charset-list
'iso-2022
1390 :designation
[(ascii 94) (nil 96) nil nil
]
1391 :flags
'(ascii-at-eol ascii-at-cntl
7-bit
1392 designation locking-shift composition
))
1394 (define-coding-system-alias 'iso-2022-int-1
'iso-2022-7bit-lock
)
1396 (define-coding-system 'iso-2022-7bit-lock-ss2
1397 "Mixture of ISO-2022-JP, ISO-2022-KR, and ISO-2022-CN."
1398 :coding-type
'iso-2022
1400 :charset-list
'(ascii
1401 japanese-jisx0208 japanese-jisx0208-1978 latin-jisx0201
1404 chinese-cns11643-1 chinese-cns11643-2 chinese-cns11643-3
1405 chinese-cns11643-4 chinese-cns11643-5 chinese-cns11643-6
1407 :designation
[(ascii 94)
1408 (nil korean-ksc5601 chinese-gb2312 chinese-cns11643-1
96)
1409 (nil chinese-cns11643-2
)
1410 (nil chinese-cns11643-3 chinese-cns11643-4 chinese-cns11643-5
1411 chinese-cns11643-6 chinese-cns11643-7
)]
1412 :flags
'(short ascii-at-eol ascii-at-cntl
7-bit locking-shift
1413 single-shift init-bol
))
1415 (define-coding-system-alias 'iso-2022-cjk
'iso-2022-7bit-lock-ss2
)
1417 (define-coding-system 'iso-2022-8bit-ss2
1418 "ISO 2022 based 8-bit encoding using SS2 for 96-charset."
1419 :coding-type
'iso-2022
1421 :charset-list
'iso-2022
1422 :designation
[(ascii 94) nil
(nil 96) nil
]
1423 :flags
'(ascii-at-eol ascii-at-cntl designation single-shift composition
))
1425 (define-coding-system 'compound-text
1426 "Compound text based generic encoding.
1427 This coding system is an extension of X's \"Compound Text Encoding\".
1428 It encodes many characters using the normal ISO-2022 designation sequences,
1429 but it doesn't support extended segments of CTEXT."
1430 :coding-type
'iso-2022
1432 :charset-list
'iso-2022
1433 :designation
[(ascii 94) (latin-iso8859-1 katakana-jisx0201
96) nil nil
]
1434 :flags
'(ascii-at-eol ascii-at-cntl long-form
1435 designation locking-shift single-shift composition
)
1436 ;; Fixme: this isn't a valid MIME charset and has to be
1437 ;; special-cased elsewhere -- fx
1438 :mime-charset
'x-ctext
)
1440 (define-coding-system-alias 'x-ctext
'compound-text
)
1441 (define-coding-system-alias 'ctext
'compound-text
)
1443 ;; Same as compound-text, but doesn't produce composition escape
1444 ;; sequences. Used in post-read and pre-write conversions of
1445 ;; compound-text-with-extensions, see mule.el. Note that this should
1446 ;; not have a mime-charset property, to prevent it from showing up
1447 ;; close to the beginning of coding systems ordered by priority.
1448 (define-coding-system 'ctext-no-compositions
1449 "Compound text based generic encoding.
1451 Like `compound-text', but does not produce escape sequences for compositions."
1452 :coding-type
'iso-2022
1454 :charset-list
'iso-2022
1455 :designation
[(ascii 94) (latin-iso8859-1 katakana-jisx0201
96) nil nil
]
1456 :flags
'(ascii-at-eol ascii-at-cntl
1457 designation locking-shift single-shift
))
1459 (define-coding-system 'compound-text-with-extensions
1460 "Compound text encoding with ICCCM Extended Segment extensions.
1462 See the variables `ctext-standard-encodings' and
1463 `ctext-non-standard-encodings-alist' for the detail about how
1464 extended segments are handled.
1466 This coding system should be used only for X selections. It is inappropriate
1467 for decoding and encoding files, process I/O, etc."
1468 :coding-type
'iso-2022
1470 :charset-list
'iso-2022
1471 :designation
[(ascii 94) (latin-iso8859-1 katakana-jisx0201
96) nil nil
]
1472 :flags
'(ascii-at-eol ascii-at-cntl long-form
1473 designation locking-shift single-shift
)
1474 :post-read-conversion
'ctext-post-read-conversion
1475 :pre-write-conversion
'ctext-pre-write-conversion
1476 :mime-charset
'x-ctext
)
1478 (define-coding-system-alias
1479 'x-ctext-with-extensions
'compound-text-with-extensions
)
1480 (define-coding-system-alias
1481 'ctext-with-extensions
'compound-text-with-extensions
)
1483 (define-coding-system 'us-ascii
1484 "Encode ASCII as-is and encode non-ASCII characters to `?'."
1485 :coding-type
'charset
1487 :charset-list
'(ascii)
1489 :mime-charset
'us-ascii
)
1491 (define-coding-system-alias 'iso-safe
'us-ascii
)
1493 (define-coding-system 'utf-7
1494 "UTF-7 encoding of Unicode (RFC 2152)."
1497 :mime-charset
'utf-7
1498 :charset-list
'(unicode)
1499 :pre-write-conversion
'utf-7-pre-write-conversion
1500 :post-read-conversion
'utf-7-post-read-conversion
)
1502 (define-coding-system 'utf-7-imap
1503 "UTF-7 encoding of Unicode, IMAP version (RFC 2060)"
1506 :charset-list
'(unicode)
1507 :pre-write-conversion
'utf-7-imap-pre-write-conversion
1508 :post-read-conversion
'utf-7-imap-post-read-conversion
)
1510 ;; Use us-ascii for terminal output if some other coding system is not
1511 ;; specified explicitly.
1512 (set-safe-terminal-coding-system-internal 'us-ascii
)
1514 ;; The other coding-systems are defined in each language specific
1515 ;; files under lisp/language.
1517 ;; Normally, set coding system to `undecided' before reading a file.
1518 ;; Compiled Emacs Lisp files (*.elc) are not decoded at all,
1519 ;; but we regard them as containing multibyte characters.
1520 ;; Tar files are not decoded at all, but we treat them as raw bytes.
1522 (setq file-coding-system-alist
1523 (mapcar (lambda (arg) (cons (purecopy (car arg
)) (cdr arg
)))
1524 '(("\\.elc\\'" . utf-8-emacs
)
1525 ("\\.el\\'" . prefer-utf-8
)
1526 ("\\.utf\\(-8\\)?\\'" . utf-8
)
1527 ("\\.xml\\'" . xml-find-file-coding-system
)
1528 ;; We use raw-text for reading loaddefs.el so that if it
1529 ;; happens to have DOS or Mac EOLs, they are converted to
1530 ;; newlines. This is required to make the special treatment
1531 ;; of the "\ newline" combination in loaddefs.el, which marks
1532 ;; the beginning of a doc string, work.
1533 ("\\(\\`\\|/\\)loaddefs.el\\'" .
(raw-text . raw-text-unix
))
1534 ("\\.tar\\'" .
(no-conversion . no-conversion
))
1535 ( "\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system
)
1536 ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system
)
1537 ("" .
(undecided . nil
)))))
1540 ;;; Setting coding categories and their priorities.
1542 ;; This setting is just to read an Emacs Lisp source files which
1543 ;; contain multilingual text while dumping Emacs. More appropriate
1544 ;; values are set by the command `set-language-environment' for each
1545 ;; language environment.
1547 (set-coding-system-priority
1554 ;;; Miscellaneous settings.
1556 ;; Make all multibyte characters self-insert.
1557 (set-char-table-range (nth 1 global-map
)
1558 (cons 128 (max-char))
1559 'self-insert-command
)
1561 (aset latin-extra-code-table ?
\221 t
)
1562 (aset latin-extra-code-table ?
\222 t
)
1563 (aset latin-extra-code-table ?
\223 t
)
1564 (aset latin-extra-code-table ?
\224 t
)
1565 (aset latin-extra-code-table ?
\225 t
)
1566 (aset latin-extra-code-table ?
\226 t
)
1568 ;; The old code-pages library is obsoleted by coding systems based on
1569 ;; the charsets defined in this file but might be required by user
1571 (provide 'code-pages
)
1573 ;;; mule-conf.el ends here