Mark Sapiro Wrote:
> You need to examine the Content-Type: header of the received message to
> see if the above is correct. If so, the solution is to change the
> default character set for English to utf-8. You do this by putting the
line
> add_language('en', 'English (USA)', 'utf-8', 'ltr')
You are correct Mark -- the email header is the source of the problem. I
looked at the headers for the Subscription Verify email and found:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
Just as you thought.
I then included the add_language clause and subscribed again. This time the
headers are:
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
As expected.
I then replied to the Subscription Verify email and received a Welcome to
the List email -- with headers:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
This was a surprise for me -- and perhaps for you as well.
I unsubscribed and received the verification email with headers:
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
This looks good.
I then replied to the Unsubscribe Verify email and received a You have been
Unsubscribed from the list with headers:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
This is yet another set of headers -- notice the 7bit encoding.
It looks like we need the last email message of Subscribe and Unsubscribe
sequences to respect:
add_language('en', 'English (USA)', 'utf-8', 'ltr')
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org