Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Trying to fix display of non-ASCII characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashot Ovanessian committed Oct 23, 2017
1 parent 97b211b commit 9f0bdbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rss_displayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"To: [email protected]\r\n".
"Subject: \r\n".
"MIME-Version: 1.0\r\n".
"Content-Type: text/plain; charset=ISO-8859-1\r\n".
"Content-Type: text/plain; charset=utf-8\r\n".
"Content-Transfer-Encoding: 7bit\r\n".
"X-Wii-AltName: " . base64_encode(mb_convert_encoding($_REQUEST["title"], "UTF-16", "auto")) . "\r\n".
"X-Wii-AltName: " . base64_encode(mb_convert_encoding($_REQUEST["title"], "UTF-8", "auto")) . "\r\n".
"X-Wii-MB-NoReply: 1\r\n\r\n";

$raw_description = new \Html2Text\Html2Text($item->get_description());
Expand Down

0 comments on commit 9f0bdbd

Please sign in to comment.