diff --git a/fp-plugins/commentcenter/plugin.commentcenter.php b/fp-plugins/commentcenter/plugin.commentcenter.php index 9df6c0f..966d4b1 100644 --- a/fp-plugins/commentcenter/plugin.commentcenter.php +++ b/fp-plugins/commentcenter/plugin.commentcenter.php @@ -438,7 +438,8 @@ class plugin_commentcenter { $fp_config ['general'] ['title'] ), $text); - return @utils_mail($from_mail, $subject, $text); + // for non-ASCII characters in the e-mail header use RFC 1342 — Encodes data with MIME base64 + return @utils_mail($from_mail, '=?utf-8?B?' . base64_encode($subject) . '?=', $text); } }