Encoding of UTF-8 subject
-
One of my subscribers informed me that whenever I publish an article with non-ASCII characters in title, Subject of the e-mail looks deformed in some Android mail clients.
E.g.
Fwd: Nov?? ??l??nek: ??v??carsk?? syst??m s katal??nskou chybou
He diagnozed the problem: according to RFC 2047 non-7-bit characters are not allowed in the Subject. But the plugin sends UTF-8 characters directly.
His proposed patch is a one-liner:
$subject = mb_encode_mimeheader($subjectText,"UTF-8");
In this way, the subject would be encoded correctly.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Encoding of UTF-8 subject’ is closed to new replies.