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 msaghaei
Recipients msaghaei
Date 2009-10-09.09:12:32
SpamBayes Score 0.010924402
Marked as misclassified No
Message-id <1255079554.68.0.710322041436.issue7090@psf.upfronthosting.co.za>
In-reply-to
Content
Odd behaviour with str.encode or codecs.Codec.encode or simailar
functions, when dealing with uncode objects above ffff

with 2.6
>>> u'\u10380'.encode('utf')
'\xe1\x80\xb80'

with 3.x
'\u10380'.encode('utf')
'\xe1\x80\xb80'

correct output must be:
\xf0\x90\x8e\x80
History
Date User Action Args
2009-10-09 09:12:34msaghaeisetrecipients: + msaghaei
2009-10-09 09:12:34msaghaeisetmessageid: <1255079554.68.0.710322041436.issue7090@psf.upfronthosting.co.za>
2009-10-09 09:12:33msaghaeilinkissue7090 messages
2009-10-09 09:12:32msaghaeicreate