On 2015-12-07, Terry Reedy wrote: > On 12/7/2015 9:57 AM, Adam Funk wrote: >> I'm trying to write an instance of email.message.Message, whose body >> contains unicode characters, to a UTF-8 file. (Python 2.7.3 & 2.7.10 >> again.) > > The email package was rewritten for, I believe, 3.3. I believe it > should handle unicode email encoded as utf-8 more easily.
Actually it works in Python 3.2.3, & fortunately my program doesn't depend on anything that isn't available for python 3 yet. Thanks! -- Most Americans are too civilized to hang skulls from baskets, having been headhunters, of course, only as recently as Vietnam. --- Kinky Friedman -- https://mail.python.org/mailman/listinfo/python-list