changeset 91116:ec7b5eef2638

(utf-7-imap): New coding system.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Nov 2007 06:27:49 +0000
parents c8c995a127bc
children 57ad20761f87
files lisp/international/mule-conf.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-conf.el	Mon Nov 19 05:17:26 2007 +0000
+++ b/lisp/international/mule-conf.el	Mon Nov 19 06:27:49 2007 +0000
@@ -1419,6 +1419,14 @@
   :pre-write-conversion 'utf-7-pre-write-conversion
   :post-read-conversion 'utf-7-post-read-conversion)
 
+(define-coding-system 'utf-7-imap
+  "UTF-7 encoding of Unicode, IMAP version (RFC 2060)"
+  :coding-type 'utf-8
+  :mnemonic ?u
+  :charset-list '(unicode)
+  :pre-write-conversion 'utf-7-imap-pre-write-conversion
+  :post-read-conversion 'utf-7-imap-post-read-conversion)
+
 ;; Use us-ascii for terminal output if some other coding system is not
 ;; specified explicitly.
 (set-safe-terminal-coding-system-internal 'us-ascii)