[wp-hackers] 8bit ASCII characters in headers of
comment-notification-mails
drDave
drdave at unknowngenius.com
Wed Sep 1 14:22:23 UTC 2004
Actually, this is not completely true afaik.
If you check out RFCs 2047 (http://www.faqs.org/rfcs/rfc2047.html) and
2231, you will see that there is a mechanism allowing you to specify an
encoding for your subject header. e.g.:
=?iso-8859-1?Q?R=FCckantwort_?=
This RFC is far from perfect, but it is essential, especially for
countries where the whole writing system relies on non-ASCII
characters.
It can sometimes be a problem if your MTA messes with these headers and
decode them instead of leaving that task up to the sole MUA... but
that's not really the sender's fault. It means your MTA is somehow not
up to date and should be fixed.
I do not know if WP is respecting this RFC, if not it would indeed be a
good idea to make sure that the subject header is thus encoded
(probably UTF-8 would be a good choice) whenever sending mails from WP.
HtH,
--
Dave / デイヴ
drdave at unknowngenius.com
On Sep 1, 2004, at 10:51 PM, Sebastian Herp wrote:
> Hello fellow wordpress hackers,
>
> i recently switched my mailserver to something i (will) have more
> control over. While doing this i noticed that the
> comment-notifications do not use 7bit-ASCII-encoding in the
> email-header. This is a violation of the standard and as such noted by
> my mailserver. All unencoded chars get replaced by "X" (looks ugly)
> :-)
>
> Is this a general problem of php sending mails or is this something
> that we/you have control over?
>
> Greetings,
> Sebastian
>
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
>
>
More information about the hackers
mailing list