Closed ghost closed 9 years ago
How can I echo an Subject with Quoted-Printable encoding in utf-8?
Found it. Code to help others: $sub= (is_null($message->getSubject())) ? 'No Subject' : $message->getSubject(); mb_internal_encoding('UTF-8'); $subject= strreplace(""," ", mb_decode_mimeheader($sub));
How can I echo an Subject with Quoted-Printable encoding in utf-8?