Chris Withers wrote:
>
> Now, I want to know what I'm supposed to do when I have unicode source
> and want it to end up as either a text/plain or text/html mime part.
>
> Is there a how-to for this anywhere? The email package's docs are short
> on examples involving charsets, unicode and the like :-(
no expert in this, but have you tried the codecs module?
http://docs.python.org/lib/codec-objects.html
( with 'xmlcharrefreplace' for the html )?
Gerard
--
http://mail.python.org/mailman/listinfo/python-list