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: 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: <1416491999.209592.193345213.3A6FF9A4@webmail.messagingengine.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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?