How to send an email with non-ascii characters in Python

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Feb 24 05:16:25 EST 2006


Lad enlightened us with:
> Can anyone give an example how to send email with non-ascii
> characters( both in subject and body).  I would like to use
> windows-1250 code page

I'd use Latin-1 or UTF-8, since they are both cross-platform instead
of windows-specific...

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list