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


Groups > comp.lang.python > #81087

Re: python 2.7 and unicode (one more time)

From Peter Otten <__peter__@web.de>
Subject Re: python 2.7 and unicode (one more time)
Date 2014-11-20 17:32 +0100
Organization None
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>
Newsgroups comp.lang.python
Message-ID <mailman.16027.1416501194.18130.python-list@python.org> (permalink)

Show all headers | View raw


Chris Angelico wrote:

> On Fri, Nov 21, 2014 at 2:40 AM, Peter Otten <__peter__@web.de> wrote:
>> I think that you may get a Unicode/Encode/Error when you try to /decode/
>> a unicode string is more confusing...
> 
> Hang on a minute, what does it even mean to decode a Unicode string?

Let's not get philosophical ;)

> That's where the problem is. Fortunately that's one that Py3 solved -
> str simply doesn't have a decode() method.


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


Thread

Re: python 2.7 and unicode (one more time) Peter Otten <__peter__@web.de> - 2014-11-20 17:32 +0100

csiph-web