Bug #9529: Store description internally as UTF-8, not in charset of part
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 00:55:14 +0000 (17:55 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 00:55:14 +0000 (17:55 -0700)
framework/Mime/lib/Horde/Mime/Part.php

index 80d675e..1c098f2 100644 (file)
@@ -1883,7 +1883,7 @@ class Horde_Mime_Part implements ArrayAccess, Countable
         }
 
         if (isset($data['description'])) {
-            $ob->setDescription(Horde_Mime::decode($data['description'], $ob->getCharset()));
+            $ob->setDescription(Horde_Mime::decode($data['description']));
         }
 
         /* Set the name. */