[Zope3-Users] Re: UnicodeEncodeErrors from zope/app/maildir.py

Adam Groszer adamg at fw.hu
Wed Nov 29 07:39:15 EST 2006

Hello Rupert,

I'm not a mail+RFC expert, but I would try to pass the content
encoded as UTF-8 and set the headers accordingly.

Wednesday, November 29, 2006, 1:28:41 PM, you wrote:

RR> Raphael Ritz wrote:

>> Well, there are the "officials" like:
>>     http://unicode.org
>>     http://en.wikipedia.org/wiki/Unicode
>> but you want probably something more like
>>     http://www.joelonsoftware.com/articles/Unicode.html
>> and for Python in particular I found
>>     http://www.amk.ca/python/howto/unicode

RR> Those are great pointers, thanks, but I still can't understand why
RR> zope.app.mail's MailDir functions want to encode the message using the
RR> 'ascii' encoding, nor does there seem to be any way to suggest a
RR> different encoding to the mail system.

RR> How is it possible to send emails containing non-ascii encodings from
RR> zope? Is there a problem with the python smtplib which is forcing this
RR> behaviour? (Or do I still not get it...?)

RR> Thanks for your help,

RR> Rupert
RR> _______________________________________________
RR> Zope3-users mailing list
RR> Zope3-users at zope.org
RR> http://mail.zope.org/mailman/listinfo/zope3-users

Best regards,
 Groszer Adam
Quote of the day:
It is no great thing to be humble when you are brought low; but to be humble when you are praised is a great and rare attainment. 
- Bernard of Clairvaux 

More information about the Zope3-users mailing list