comparison lisp/international/utf-16.el @ 52285:6c91b4a8b9af

Add mime-text-unsuitable coding system properties.
author Dave Love <fx@gnu.org>
date Wed, 20 Aug 2003 18:45:22 +0000
parents bc72d6855260
children 695cf19ef79e
comparison
equal deleted inserted replaced
52284:29c8180a975d 52285:6c91b4a8b9af
1 ;;; utf-16.el --- UTF-16 encoding/decoding 1 ;;; utf-16.el --- UTF-16 encoding/decoding
2 2
3 ;; Copyright (C) 2001, 2002 Free Software Foundation, Inc. 3 ;; Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4 4
5 ;; Author: Dave Love <fx@gnu.org> 5 ;; Author: Dave Love <fx@gnu.org>
6 ;; Keywords: Unicode, UTF-16, i18n 6 ;; Keywords: Unicode, UTF-16, i18n
7 7
8 ;; This file is part of GNU Emacs. 8 ;; This file is part of GNU Emacs.
23 ;; Boston, MA 02111-1307, USA. 23 ;; Boston, MA 02111-1307, USA.
24 24
25 ;;; Commentary: 25 ;;; Commentary:
26 26
27 ;; Support for UTF-16, which is a two-byte encoding (modulo 27 ;; Support for UTF-16, which is a two-byte encoding (modulo
28 ;; surrogates) of Unicode, written either in little or big endian 28 ;; surrogates) of Unicode, defined in RFC 2781. It is written either
29 ;; order and either with or without the leading BOM (a two-byte 29 ;; in little or big endian order and either with or without the
30 ;; signature which identifies their byte sex)a. 30 ;; leading BOM (a two-byte signature which identifies their byte sex).
31 ;; 31 ;;
32 ;; We provides these base coding systems. 32 ;; We provide these base coding systems.
33 ;; name endian BOM 33 ;; name endian BOM
34 ;; ---- ------ --- 34 ;; ---- ------ ---
35 ;; mule-utf-16le little no 35 ;; mule-utf-16le little no
36 ;; mule-utf-16be big no 36 ;; mule-utf-16be big no
37 ;; mule-utf-16le-with-signature little yes 37 ;; mule-utf-16le-with-signature little yes
344 latin-iso8859-1 344 latin-iso8859-1
345 mule-unicode-0100-24ff 345 mule-unicode-0100-24ff
346 mule-unicode-2500-33ff 346 mule-unicode-2500-33ff
347 mule-unicode-e000-ffff) 347 mule-unicode-e000-ffff)
348 (mime-charset . utf-16le) 348 (mime-charset . utf-16le)
349 (mime-text-unsuitable . t)
349 (valid-codes (0 . 255)) 350 (valid-codes (0 . 255))
350 (dependency unify-8859-on-encoding-mode 351 (dependency unify-8859-on-encoding-mode
351 unify-8859-on-decoding-mode 352 unify-8859-on-decoding-mode
352 utf-fragment-on-decoding 353 utf-fragment-on-decoding
353 utf-translate-cjk))) 354 utf-translate-cjk)))
388 mule-unicode-0100-24ff 389 mule-unicode-0100-24ff
389 mule-unicode-2500-33ff 390 mule-unicode-2500-33ff
390 mule-unicode-e000-ffff) 391 mule-unicode-e000-ffff)
391 (coding-category . coding-category-utf-16-le) 392 (coding-category . coding-category-utf-16-le)
392 (mime-charset . utf-16) 393 (mime-charset . utf-16)
394 (mime-text-unsuitable . t)
393 (valid-codes (0 . 255)) 395 (valid-codes (0 . 255))
394 (dependency unify-8859-on-encoding-mode 396 (dependency unify-8859-on-encoding-mode
395 unify-8859-on-decoding-mode 397 unify-8859-on-decoding-mode
396 utf-fragment-on-decoding 398 utf-fragment-on-decoding
397 utf-translate-cjk))) 399 utf-translate-cjk)))
433 mule-unicode-0100-24ff 435 mule-unicode-0100-24ff
434 mule-unicode-2500-33ff 436 mule-unicode-2500-33ff
435 mule-unicode-e000-ffff) 437 mule-unicode-e000-ffff)
436 (coding-category . coding-category-utf-16-be) 438 (coding-category . coding-category-utf-16-be)
437 (mime-charset . utf-16) 439 (mime-charset . utf-16)
440 (mime-text-unsuitable . t)
438 (valid-codes (0 . 255)) 441 (valid-codes (0 . 255))
439 (dependency unify-8859-on-encoding-mode 442 (dependency unify-8859-on-encoding-mode
440 unify-8859-on-decoding-mode 443 unify-8859-on-decoding-mode
441 utf-fragment-on-decoding 444 utf-fragment-on-decoding
442 utf-translate-cjk) 445 utf-translate-cjk)