diff options
| author | Dave Love | 2002-05-20 15:15:05 +0000 |
|---|---|---|
| committer | Dave Love | 2002-05-20 15:15:05 +0000 |
| commit | 3803079c2fbcdfaed1cbbdf717d2ed4e4d2154fb (patch) | |
| tree | 36ebf11e5204729e4842e0eded23894208b7f4f1 | |
| parent | 5e3097cd9d9006ab63f092f68a85e96ece71791e (diff) | |
| download | emacs-3803079c2fbcdfaed1cbbdf717d2ed4e4d2154fb.tar.gz emacs-3803079c2fbcdfaed1cbbdf717d2ed4e4d2154fb.zip | |
(iso-8859-10, symbol)
(adobe-standard-encoding, ibm850): New charsets.
(iso-8859-13): Fix IR number, final char.
(file-coding-system-alist): Add .xml.
| -rw-r--r-- | lisp/international/mule-conf.el | 55 |
1 files changed, 52 insertions, 3 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 0d7b9677232..b4343768060 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el | |||
| @@ -28,10 +28,16 @@ | |||
| 28 | 28 | ||
| 29 | ;;; Commentary: | 29 | ;;; Commentary: |
| 30 | 30 | ||
| 31 | ;; Don't byte-compile this file. | 31 | ;; This file defines the Emacs charsets and some basic coding systems. |
| 32 | ;; Other coding systems are defined in the files in directory | ||
| 33 | ;; lisp/language. | ||
| 32 | 34 | ||
| 33 | ;;; Code: | 35 | ;;; Code: |
| 34 | 36 | ||
| 37 | ;; The ISO-IR registry is at http://www.itscj.ipsj.or.jp/ISO-IR/. | ||
| 38 | ;; Standards docs equivalent to iso-2022 and iso-8859 are at | ||
| 39 | ;; http://www.ecma.ch/. | ||
| 40 | |||
| 35 | ;;; Definitions of character sets. | 41 | ;;; Definitions of character sets. |
| 36 | 42 | ||
| 37 | ;; The charsets `ascii' and `unicode' are already defined in charset.c | 43 | ;; The charsets `ascii' and `unicode' are already defined in charset.c |
| @@ -154,9 +160,13 @@ | |||
| 154 | (define-iso-single-byte-charset 'iso-8859-9 'latin-iso8859-9 | 160 | (define-iso-single-byte-charset 'iso-8859-9 'latin-iso8859-9 |
| 155 | "ISO/IEC 8859/9" "Latin-5" 148 ?M 141 "8859-9") | 161 | "ISO/IEC 8859/9" "Latin-5" 148 ?M 141 "8859-9") |
| 156 | 162 | ||
| 157 | ;; Fixme: final char | 163 | (define-iso-single-byte-charset 'iso-8859-10 'latin-iso8859-10 |
| 164 | "ISO/IEC 8859/9" "Latin-6" 157 ?V nil "8859-10") | ||
| 165 | |||
| 166 | ;; 8859-11, 12 don't (yet?) exist. | ||
| 167 | |||
| 158 | (define-iso-single-byte-charset 'iso-8859-13 'latin-iso8859-13 | 168 | (define-iso-single-byte-charset 'iso-8859-13 'latin-iso8859-13 |
| 159 | "ISO/IEC 8859/13" "Latin-7" nil nil nil "8859-13") | 169 | "ISO/IEC 8859/13" "Latin-7" 179 ?Y nil "8859-13") |
| 160 | 170 | ||
| 161 | (define-iso-single-byte-charset 'iso-8859-14 'latin-iso8859-14 | 171 | (define-iso-single-byte-charset 'iso-8859-14 'latin-iso8859-14 |
| 162 | "ISO/IEC 8859/14" "Latin-8" 199 ?_ 143 "8859-14") | 172 | "ISO/IEC 8859/14" "Latin-8" 199 ?_ 143 "8859-14") |
| @@ -739,6 +749,36 @@ | |||
| 739 | :mime-charset 'ebcdic-uk | 749 | :mime-charset 'ebcdic-uk |
| 740 | :map "ebcdic-uk") | 750 | :map "ebcdic-uk") |
| 741 | 751 | ||
| 752 | (define-charset 'hp-roman8 | ||
| 753 | "Encoding used by Hewlet-Packard printer software" | ||
| 754 | :short-name "HP-ROMAN8" | ||
| 755 | :long-name "HP-ROMAN8" | ||
| 756 | :ascii-compatible-p t | ||
| 757 | :code-space [0 255] | ||
| 758 | :map "hp-roman8") | ||
| 759 | |||
| 760 | (define-charset 'adobe-standard-encoding | ||
| 761 | "Adobe `standard encoding' used in PostScript" | ||
| 762 | :short-name "ADOBE-STANDARD-ENCODING" | ||
| 763 | :long-name "ADOBE-STANDARD-ENCODING" | ||
| 764 | :code-space [0 255] | ||
| 765 | :map "stdenc") | ||
| 766 | |||
| 767 | (define-charset 'symbol | ||
| 768 | "Adobe symbol encoding used in PostScript" | ||
| 769 | :short-name "ADOBE-SYMBOL" | ||
| 770 | :long-name "ADOBE-SYMBOL" | ||
| 771 | :code-space [0 255] | ||
| 772 | :map "symbol") | ||
| 773 | |||
| 774 | (define-charset 'ibm850 | ||
| 775 | "DOS codepage 850" | ||
| 776 | :short-name "IBM850" | ||
| 777 | :long-name "IBM850" | ||
| 778 | :code-space [0 255] | ||
| 779 | :map "ibm850") | ||
| 780 | (define-charset-alias 'cp850 'ibm850) | ||
| 781 | |||
| 742 | (unify-charset 'chinese-gb2312) | 782 | (unify-charset 'chinese-gb2312) |
| 743 | (unify-charset 'chinese-gbk) | 783 | (unify-charset 'chinese-gbk) |
| 744 | (unify-charset 'chinese-cns11643-1) | 784 | (unify-charset 'chinese-cns11643-1) |
| @@ -993,6 +1033,11 @@ for decoding and encoding files, process I/O, etc." | |||
| 993 | (setq file-coding-system-alist | 1033 | (setq file-coding-system-alist |
| 994 | '(("\\.elc\\'" . (emacs-mule . emacs-mule)) | 1034 | '(("\\.elc\\'" . (emacs-mule . emacs-mule)) |
| 995 | ("\\.utf\\(-8\\)?\\'" . utf-8) | 1035 | ("\\.utf\\(-8\\)?\\'" . utf-8) |
| 1036 | ;; This is the defined default for XML documents. It may be | ||
| 1037 | ;; overridden by a charset specification in the header. That | ||
| 1038 | ;; should be grokked by the auto-coding mechanism, but rms | ||
| 1039 | ;; vetoed that. -- fx | ||
| 1040 | ("\\.xml\\'" . utf-8) | ||
| 996 | ;; We use raw-text for reading loaddefs.el so that if it | 1041 | ;; We use raw-text for reading loaddefs.el so that if it |
| 997 | ;; happens to have DOS or Mac EOLs, they are converted to | 1042 | ;; happens to have DOS or Mac EOLs, they are converted to |
| 998 | ;; newlines. This is required to make the special treatment | 1043 | ;; newlines. This is required to make the special treatment |
| @@ -1026,4 +1071,8 @@ for decoding and encoding files, process I/O, etc." | |||
| 1026 | 1071 | ||
| 1027 | (aset latin-extra-code-table ?\222 t) | 1072 | (aset latin-extra-code-table ?\222 t) |
| 1028 | 1073 | ||
| 1074 | ;; Local variables: | ||
| 1075 | ;; no-byte-compile: t | ||
| 1076 | ;; End: | ||
| 1077 | |||
| 1029 | ;;; mule-conf.el ends here | 1078 | ;;; mule-conf.el ends here |