comparison lisp/gnus/utf7.el @ 69135:12d289b6e5de

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-118 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 38-39) - Update from CVS
author Miles Bader <miles@gnu.org>
date Fri, 24 Feb 2006 05:02:12 +0000
parents 1077b8039c32
children ce127a46b1ca 34c8b755296d
comparison
equal deleted inserted replaced
69134:4cfa03a357ea 69135:12d289b6e5de
78 "Character ranges which do not need escaping in the IMAP variant of UTF-7.") 78 "Character ranges which do not need escaping in the IMAP variant of UTF-7.")
79 79
80 (defconst utf7-utf-16-coding-system 80 (defconst utf7-utf-16-coding-system
81 (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS 81 (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS
82 'utf-16-be-no-signature) 82 'utf-16-be-no-signature)
83 ((and (mm-coding-system-p 'utf-16-be) ; Emacs 22.1 83 ((and (mm-coding-system-p 'utf-16-be) ; Emacs 21.3, Emacs 22
84 ;; Avoid versions with BOM. 84 ;; Avoid versions with BOM.
85 (= 2 (length (encode-coding-string "a" 'utf-16-be)))) 85 (= 2 (length (encode-coding-string "a" 'utf-16-be))))
86 'utf-16-be) 86 'utf-16-be)
87 ((mm-coding-system-p 'utf-16-be-nosig) ; ? 87 ((mm-coding-system-p 'utf-16-be-nosig) ; ?
88 'utf-16-be-nosig)) 88 'utf-16-be-nosig))