Qp PHP Email Subject Encoding
Not installed:
=?ISO-8859-1?Q
broken,
Gagosian Gallery : DîâCRé 1999.2000
Subject: : =?UTF-8?Q?Gagosian=20Gallery=20?==?UTF-8?Q?:=20D=C3=83?= =?UTF-8?Q?=C2=AE=C3=83=C2=A2CR=C3=83=C2=A9=201999.200?==?UTF-8?Q?0?=
FIX
$preferences = array(
"input-charset" => "UTF-8",
"output-charset" => "ISO-8859-1",
"line-length" => 76,
"line-break-chars" => "\n"
);
$preferences["scheme"] = "Q";
$encoded = iconv_mime_encode("Subject", $email->subject, $preferences);
Reference: