This commit was generated by cvs2svn to compensate for changes in r533,
[elisp/tm.git] / tm-ew-e.el
index 9d4b466..afb1fac 100644 (file)
@@ -1,10 +1,10 @@
-;;; tm-ew-e.el --- RFC 1522 based MIME encoded-word encoder for GNU Emacs
+;;; tm-ew-e.el --- RFC 2047 based encoded-word encoder for GNU Emacs
 
-;; Copyright (C) 1995,1996 Free Software Foundation, Inc.
+;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
 
 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Revision: 7.55 $
-;; Keywords: mail, news, MIME, RFC 1522, multilingual, encoded-word
+;; Version: $Revision: 7.58 $
+;; Keywords: encoded-word, MIME, multilingual, header, mail, news
 
 ;; This file is part of tm (Tools for MIME).
 
@@ -35,7 +35,7 @@
 ;;;
 
 (defconst tm-ew-e/RCS-ID
-  "$Id: tm-ew-e.el,v 7.55 1996/10/01 13:36:22 morioka Exp $")
+  "$Id: tm-ew-e.el,v 7.58 1997/02/11 10:49:13 morioka Exp $")
 (defconst mime-eword/encoder-version (get-version-string tm-ew-e/RCS-ID))
 
 
@@ -90,11 +90,15 @@ when Subject field is encoded by `mime/encode-message-header'.
     (iso-8859-9                . "Q")
     (iso-2022-jp       . "B")
     (iso-2022-kr       . "B")
+    (gb2312            . "B")
+    (cn-gb             . "B")
+    (cn-gb-2312                . "B")
     (euc-kr            . "B")
     (iso-2022-jp-2     . "B")
     (iso-2022-int-1    . "B")
     ))
 
+
 ;;; @ encoded-text encoder
 ;;;
 
@@ -312,8 +316,7 @@ when Subject field is encoded by `mime/encode-message-header'.
             )
            (t
             (setq string (car rword))
-            (let* ((sl (length string))
-                   (p 0) np
+            (let* ((p 0) np
                    (str "") nstr)
               (while (and (< p len)
                           (progn