Bug #8837: Fix headers charset when doing HTML compose
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 1 Feb 2010 20:06:47 +0000 (13:06 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 1 Feb 2010 20:06:47 +0000 (13:06 -0700)
imp/lib/Compose.php

index 388188c..d3346c2 100644 (file)
@@ -1074,6 +1074,7 @@ class IMP_Compose
             $textpart = new Horde_Mime_Part();
             $textpart->setType('multipart/alternative');
             $textpart->addPart($textBody);
+            $textpart->setHeaderCharset($charset);
 
             if (empty($options['nofinal'])) {
                 /* Any image links will be downloaded and appended to the