Sending email in utf-8?

morphex morphex at gmail.com
Mon Nov 7 19:41:38 CET 2005


That works, kinda.  I get strange characters now like this

"""
Date: Mon, 7 Nov 2005 11:38:29 -0700 (MST)
Message-Id: <200511071838.jA7IcTKR095057 at thinkering.com>
To: morten at nidelven-it.no, morten at nidelven-it.no
From: morten at nidelven-it.no
Subject:  Order confirmation
Content-Type: text/plain; charset="utf-8"
X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.92.8

Thank you for your order, it is copied here for your convenience, and
we will process it shortly.

Name:  ø
Phone: ø
Email:  morten at nidelven-it.no
Comments:  asdf
"""

but at least it doesn't raise any errors.




More information about the Python-list mailing list