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


Groups > comp.lang.python > #81087 > unrolled thread

Re: python 2.7 and unicode (one more time)

Started byPeter Otten <__peter__@web.de>
First post2014-11-20 17:32 +0100
Last post2014-11-20 17:32 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#81087 — Re: python 2.7 and unicode (one more time)

FromPeter Otten <__peter__@web.de>
Date2014-11-20 17:32 +0100
SubjectRe: python 2.7 and unicode (one more time)
Message-ID<mailman.16027.1416501194.18130.python-list@python.org>
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.


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web