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


Groups > comp.lang.python > #81137

Re: python 2.7 and unicode (one more time)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'encoded': 0.07; 'string': 0.09; 'bytes.': 0.09; 'received:internal': 0.09; 'subject:2.7': 0.09; 'base64': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'bytes': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'raw': 0.33; 'subject:time': 0.33; 'could': 0.34; 'received:66': 0.35; 'subject: (': 0.35; 'subject:one': 0.36; 'received:10': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'subject:more': 0.64; '20,': 0.68; '2014,': 0.84; 'ethan': 0.84; 'furman': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=jdJB6bnbyww6cGdv9E90i3aXmq4=; b=bDg6 ZJXpupO0H8QnkDcN8U/6FrR0R/KvlqCYL7PeSwGlTPXnyu5XgsCxj6eTv5C0Rz9w xu4lTZHk/Jy4VtulmIZwpII1V2NC1pJhquWLZ6iztmvkLpHLJIqwINLTQcxpfnfG uPCqnPLLAwHrifgSB6KngcgoF1fSvN3R3dCLq6c=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=jdJB6bnbyww6cGdv9E90i3aX mq4=; b=juH01lCwwWHAxjEbTWoCmXAiQq/AJfI7PEwlFe2EsVrRUfxOiIvCJtky V0maESOPXD+thhBQN5F3LjZIEcEKGv9KdFadMmkzTy5XMiCcqpz5SqT6q0taPF1F KKttPl4tJoVu/TrAE1nE0XZHs2tV10fdS8+o/uP5OKDbnnu4dY8=
X-Sasl-Enc efvHdJA7Rm+bWlDct60lBj/m8JmPRDO2o7NwCUEwj+By 1416524689
From random832@fastmail.us
To python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-a419c8a0
In-Reply-To <546E5D4D.601@stoneleaf.us>
References <m4kcu8$ta8$1@ger.gmane.org> <m4kn66$ma3$1@ger.gmane.org> <1416491999.209592.193345213.3A6FF9A4@webmail.messagingengine.com> <m4l20h$toc$1@ger.gmane.org> <CAPTjJmqjUGmTA-0JXrkeKYLeShmT=mOE=c38o8YD7XheCK_5Kw@mail.gmail.com> <546E5D4D.601@stoneleaf.us>
Subject Re: python 2.7 and unicode (one more time)
Date Thu, 20 Nov 2014 18:04:49 -0500
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16062.1416524692.18130.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416524692 news.xs4all.nl 2856 [2001:888:2000:d::a6]:32989
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3778
X-Received-Body-CRC 1082099440
Xref csiph.com comp.lang.python:81137

Show key headers only | View raw



On Thu, Nov 20, 2014, at 16:29, Ethan Furman wrote:
> If your unicode string happens to contain a base64 encoded .png, then you
> could decode that into bytes.  ;)

Bytes of the PNG, or of the raw pixels?

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


Thread

Re: python 2.7 and unicode (one more time) random832@fastmail.us - 2014-11-20 18:04 -0500

csiph-web