]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix charset information in digest
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 22 Aug 2006 08:00:08 +0000 (09:00 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 22 Aug 2006 08:00:08 +0000 (09:00 +0100)
functions.php

index 89ed698fb66eb12c797c568ba0288faf3270b3bf..52e997aedb0981377b3b2401f15aa5a4db3840bb 100644 (file)
                                if ($headlines_count > 0) {
                                        $rc = mail($line["login"] . " <" . $line["email"] . ">",
                                                "[tt-rss] New headlines for last 24 hours", $digest,
-                                               "From: " . MAIL_FROM);
+                                               "From: " . MAIL_FROM . "\n".
+                                               "Content-Type: text/plain; charset=\"utf-8\"\n".
+                                               "Content-Transfer-Encoding: 8bit\n");
                                        print "RC=$rc\n";
                                        db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW() 
                                                        WHERE id = " . $line["id"]);