This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients belopolsky, ezio.melotti, lemburg
Date 2011-02-25.08:36:02
SpamBayes Score 9.721818e-06
Marked as misclassified No
Message-id <4D6769F1.7090602@egenix.com>
In-reply-to <1298586589.12.0.407554806858.issue11313@psf.upfronthosting.co.za>
Content
Alexander Belopolsky wrote:
> 
> New submission from Alexander Belopolsky <belopolsky@users.sourceforge.net>:
> 
> In Python 3.x default encoding is always utf-8, but encode()/decode() still try to look it up.  Attached patch eliminates a call to normalize_encoding and several strcmp() calls.

+1.

Please add a comment explaining why this can be done.
History
Date User Action Args
2011-02-25 08:36:05lemburgsetrecipients: + lemburg, belopolsky, ezio.melotti
2011-02-25 08:36:02lemburglinkissue11313 messages
2011-02-25 08:36:02lemburgcreate