Fix nnimap charset issues when doing internal moves
authorMartin Stjernholm <mast@lysator.liu.se>
Wed, 5 Sep 2012 19:58:36 +0000 (21:58 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 5 Sep 2012 22:33:20 +0000 (00:33 +0200)
* nnimap.el (nnimap-request-move-article): Decode the group name when
doing internal moves to avoid charset issues.

lisp/ChangeLog
lisp/nnimap.el

index a123ed9..c568d79 100644 (file)
@@ -1,5 +1,8 @@
 2012-09-05  Martin Stjernholm  <mast@lysator.liu.se>
 
+       * nnimap.el (nnimap-request-move-article): Decode the group name when
+       doing internal moves to avoid charset issues.
+
        * gnus-demon.el (gnus-demon-init): Fixed regression when IDLE is t and
        TIME is set.
 
index 9f638a7..3277a7f 100644 (file)
@@ -857,6 +857,8 @@ textual parts.")
 (deffoo nnimap-request-move-article (article group server accept-form
                                             &optional last internal-move-group)
   (setq group (nnimap-decode-gnus-group group))
+  (when internal-move-group
+    (setq internal-move-group (nnimap-decode-gnus-group internal-move-group)))
   (with-temp-buffer
     (mm-disable-multibyte)
     (when (funcall (if internal-move-group