Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100144

Re: writing an email.message.Message in UTF-8

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Adam Funk <a24061@ducksburg.com>
Newsgroups comp.lang.python
Subject Re: writing an email.message.Message in UTF-8
Date Tue, 08 Dec 2015 09:35:56 +0000
Organization $CABAL
Lines 18
Message-ID <sskijcxt0v.ln2@news.ducksburg.com> (permalink)
References <nbjgjcxqsh.ln2@news.ducksburg.com> <mailman.22.1449510105.12405.python-list@python.org>
X-Trace individual.net 25HAm7uTzGcUPLvc4xF1XQwwGyqBmkm2hRcRkIsg7Q9yFJMs0m
X-Orig-Path news.ducksburg.com!not-for-mail
Cancel-Lock sha1:p422UZvyNsgREKCU/MobR45H05w= sha1:MJSNb7xxQyqZe7Qr2tT05ta+gGM=
User-Agent slrn/pre1.0.3-5 (Linux)
Xref csiph.com comp.lang.python:100144

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

writing an email.message.Message in UTF-8 Adam Funk <a24061@ducksburg.com> - 2015-12-07 14:57 +0000
  Re: writing an email.message.Message in UTF-8 Adam Funk <a24061@ducksburg.com> - 2015-12-07 15:21 +0000
  Re: writing an email.message.Message in UTF-8 Terry Reedy <tjreedy@udel.edu> - 2015-12-07 12:40 -0500
    Re: writing an email.message.Message in UTF-8 Adam Funk <a24061@ducksburg.com> - 2015-12-08 09:35 +0000
  Re: writing an email.message.Message in UTF-8 dieter <dieter@handshake.de> - 2015-12-08 08:50 +0100
    Re: writing an email.message.Message in UTF-8 Adam Funk <a24061@ducksburg.com> - 2015-12-08 09:35 +0000

csiph-web