changeset 89426:2013b9934ed0

(utf-7): New.
author Dave Love <fx@gnu.org>
date Thu, 08 May 2003 17:57:14 +0000
parents 32e34aaffbe3
children e25f0fe176b0
files lisp/international/mule-conf.el
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-conf.el	Tue May 06 23:43:33 2003 +0000
+++ b/lisp/international/mule-conf.el	Thu May 08 17:57:14 2003 +0000
@@ -394,6 +394,8 @@
   :code-offset #x148000
   :unify-map "jisx0212-1990")
 
+;; Note that jisx0213 contains characters not in Unicode (3.2?).  It's
+;; arguable whether it should have a unify-map.
 (define-charset 'japanese-jisx0213-1
   "JISX0213 Plane 1 (Japanese)"
   :short-name "JISX0213-1"
@@ -1321,6 +1323,15 @@
 
 (define-coding-system-alias 'iso-safe 'us-ascii)
 
+(define-coding-system 'utf-7
+  "UTF-7 encoding of Unicode (RFC 2152)."
+  :coding-type 'utf-8
+  :mnemonic ?U
+  :mime-charset 'utf-7
+  :charset-list '(unicode)
+  :pre-write-conversion 'utf-7-pre-write-conversion
+  :post-read-conversion 'utf-7-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)