Bugs item #1811214, was opened at 2007-10-11 01:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1811214&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christian Boltz (christian_boltz)
Assigned to: Nobody/Anonymous (nobody)
Summary: charset problems and missing encoding in welcome mail
Initial Comment:
from the forum post https://sourceforge.net/forum/message.php?msg_id=4560954 by lfarkas: (+ some additions from me)
in welcome mail there are encoding bugs.
a)
the problem starts with the subject. the subject filed is comes from the language file (at least i assume), but the language file is utf-8 encoded (which is imho the right decision), but the subject line in this case should have to transform to 7bit ready! eg like this (but this is iso-8859-2 not utf-8):
Subject: =?iso-8859-2?Q?ATPL_felv=E9teli?=
which is not happend with the welcome mails.
-> Note to myself: http://php.net/mb_encode_mimeheader can be used to properly encode the header
b)
the same problem occurred with the message body. even if i edit the config.inc.php in utf-8 the welcome mail's header do not contain a Content-type so mailer use latin1 which is not the always the case.
so my suggestion that ... the config.inc.php should have to save as utf-8, but also add the Content-type utf-8 header to the welcome mail.
-> the Content-Type header can be passed as additional header
-> To be fixed in function smtp_mail() in functions.inc.php, all other files use this function :-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1811214&group_id=191583
|