On Thu, 10 Jul 2008 13:17:14 +0200 Morten Brekkevold morten.brekkevold@uninett.no wrote:
the encode method of a str object with an 'utf-8' argument causes Puthon to decode the object as ASCII and then re-encode it as UTF-8, the former step failing when the str object already contains utf-8 data.
Revised patch attached.
Well, it appears there are no comments, so I've committed the patch to default and series/3.4.x.