diff options
| author | Dave Love | 2003-05-23 23:31:25 +0000 |
|---|---|---|
| committer | Dave Love | 2003-05-23 23:31:25 +0000 |
| commit | 2e2bc2ed7693ff7e5135a8502afa8a85de535426 (patch) | |
| tree | 06a7f95aba076cfb98d8108e4ca870bf4d420235 | |
| parent | 5a76b94044366da4afffd3d43b25eaef035d3de2 (diff) | |
| download | emacs-2e2bc2ed7693ff7e5135a8502afa8a85de535426.tar.gz emacs-2e2bc2ed7693ff7e5135a8502afa8a85de535426.zip | |
(utf-16le, utf-16be-16be)
(utf-16le-with-signature, utf-16be-with-signature, utf-16):
Define :mime-text-unsuitable. `utf-16{b,l}e...' renamed from
`-16-{b,l}e-' and aliases defined for the old names.
| -rw-r--r-- | lisp/international/mule-conf.el | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 197c0e60e0b..3c6b247dca2 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el | |||
| @@ -1165,38 +1165,42 @@ is treated as a character." | |||
| 1165 | :mnemonic ?U | 1165 | :mnemonic ?U |
| 1166 | :charset-list '(emacs)) | 1166 | :charset-list '(emacs)) |
| 1167 | 1167 | ||
| 1168 | (define-coding-system 'utf-16-le | 1168 | (define-coding-system 'utf-16le |
| 1169 | "UTF-16, little endian." | 1169 | "UTF-16, little endian." |
| 1170 | :coding-type 'utf-16 | 1170 | :coding-type 'utf-16 |
| 1171 | :mnemonic ?U | 1171 | :mnemonic ?U |
| 1172 | :charset-list '(unicode) | 1172 | :charset-list '(unicode) |
| 1173 | :endian 'little | 1173 | :endian 'little |
| 1174 | :mime-text-unsuitable t | ||
| 1174 | :mime-charset 'utf-16le) | 1175 | :mime-charset 'utf-16le) |
| 1175 | 1176 | ||
| 1176 | (define-coding-system 'utf-16-be | 1177 | (define-coding-system 'utf-16be |
| 1177 | "UTF-16, big endian." | 1178 | "UTF-16, big endian." |
| 1178 | :coding-type 'utf-16 | 1179 | :coding-type 'utf-16 |
| 1179 | :mnemonic ?U | 1180 | :mnemonic ?U |
| 1180 | :charset-list '(unicode) | 1181 | :charset-list '(unicode) |
| 1181 | :endian 'big | 1182 | :endian 'big |
| 1183 | :mime-text-unsuitable t | ||
| 1182 | :mime-charset 'utf-16be) | 1184 | :mime-charset 'utf-16be) |
| 1183 | 1185 | ||
| 1184 | (define-coding-system 'utf-16-le-with-signature | 1186 | (define-coding-system 'utf-16le-with-signature |
| 1185 | "UTF-16, little endian, with signature." | 1187 | "UTF-16, little endian, with signature." |
| 1186 | :coding-type 'utf-16 | 1188 | :coding-type 'utf-16 |
| 1187 | :mnemonic ?U | 1189 | :mnemonic ?U |
| 1188 | :charset-list '(unicode) | 1190 | :charset-list '(unicode) |
| 1189 | :bom t | 1191 | :bom t |
| 1190 | :endian 'little | 1192 | :endian 'little |
| 1193 | :mime-text-unsuitable t | ||
| 1191 | :mime-charset 'utf-16) | 1194 | :mime-charset 'utf-16) |
| 1192 | 1195 | ||
| 1193 | (define-coding-system 'utf-16-be-with-signature | 1196 | (define-coding-system 'utf-16be-with-signature |
| 1194 | "UTF-16, big endian, with signature." | 1197 | "UTF-16, big endian, with signature." |
| 1195 | :coding-type 'utf-16 | 1198 | :coding-type 'utf-16 |
| 1196 | :mnemonic ?U | 1199 | :mnemonic ?U |
| 1197 | :charset-list '(unicode) | 1200 | :charset-list '(unicode) |
| 1198 | :bom t | 1201 | :bom t |
| 1199 | :endian 'big | 1202 | :endian 'big |
| 1203 | :mime-text-unsuitable t | ||
| 1200 | :mime-charset 'utf-16) | 1204 | :mime-charset 'utf-16) |
| 1201 | 1205 | ||
| 1202 | (define-coding-system 'utf-16 | 1206 | (define-coding-system 'utf-16 |
| @@ -1204,10 +1208,18 @@ is treated as a character." | |||
| 1204 | :coding-type 'utf-16 | 1208 | :coding-type 'utf-16 |
| 1205 | :mnemonic ?U | 1209 | :mnemonic ?U |
| 1206 | :charset-list '(unicode) | 1210 | :charset-list '(unicode) |
| 1207 | :bom '(utf-16-le-with-signature . utf-16-be-with-signature) | 1211 | :bom '(utf-16le-with-signature . utf-16be-with-signature) |
| 1208 | :endian 'big | 1212 | :endian 'big |
| 1213 | :mime-text-unsuitable t | ||
| 1209 | :mime-charset 'utf-16) | 1214 | :mime-charset 'utf-16) |
| 1210 | 1215 | ||
| 1216 | ;; Backwards compatibility (old names, also used by Mule-UCS). We | ||
| 1217 | ;; prefer the MIME names. | ||
| 1218 | (define-coding-system-alias 'utf-16-le 'utf-16le) | ||
| 1219 | (define-coding-system-alias 'utf-16-be 'utf-16be) | ||
| 1220 | (define-coding-system-alias 'utf-16-le-with-signature 'utf-16le-with-signature) | ||
| 1221 | (define-coding-system-alias 'utf-16-be-with-signature 'utf-16be-with-signature) | ||
| 1222 | |||
| 1211 | (define-coding-system 'iso-2022-7bit | 1223 | (define-coding-system 'iso-2022-7bit |
| 1212 | "ISO 2022 based 7-bit encoding using only G0." | 1224 | "ISO 2022 based 7-bit encoding using only G0." |
| 1213 | :coding-type 'iso-2022 | 1225 | :coding-type 'iso-2022 |