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

2006-11-29 Thread Raphael Ritz
Martijn Pieters schrieb: On 11/29/06, Raphael Ritz <[EMAIL PROTECTED]> wrote: The mail's body or pay load on the other hand can have any encoding. Nonsense. From RFC 2822, section 2.1: At the most basic level, a message is a series of characters. A message that is conformant with this st

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

2006-11-29 Thread Martijn Pieters
On 11/29/06, Raphael Ritz <[EMAIL PROTECTED]> wrote: The mail's body or pay load on the other hand can have any encoding. Nonsense. From RFC 2822, section 2.1: At the most basic level, a message is a series of characters. A message that is conformant with this standard is comprised of c

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

2006-11-29 Thread Raphael Ritz
Martijn Pieters schrieb: On 11/29/06, Rupert Redington <[EMAIL PROTECTED]> wrote: Those are great pointers, thanks, but I still can't understand why zope.app.mail's MailDir functions want to encode the message using the 'ascii' encoding, nor does there seem to be any way to suggest a different e

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

2006-11-29 Thread Raphael Ritz
Rupert Redington schrieb: [..] How is it possible to send emails containing non-ascii encodings from zope? Is there a problem with the python smtplib which is forcing this behaviour? (Or do I still not get it...?) [I guess the latter ... :-) ] Well, I only responsed to the 'pointer to Unicod

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

2006-11-29 Thread Martijn Pieters
On 11/29/06, Rupert Redington <[EMAIL PROTECTED]> wrote: Those are great pointers, thanks, but I still can't understand why zope.app.mail's MailDir functions want to encode the message using the 'ascii' encoding, nor does there seem to be any way to suggest a different encoding to the mail system

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

2006-11-29 Thread Adam Groszer
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.wiki

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

2006-11-29 Thread Rupert Redington
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://w

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

2006-11-29 Thread Raphael Ritz
Rupert Redington schrieb: [..] I'm constantly aware that I need a much better grasp of character encoding issues (and had hoped that the wonders of unicode/UTF-8 would save me from this) - can anyone give me a pointer? Well, there are the "officials" like: http://unicode.org http://