[New-bugs-announce] [issue7090] encoding uncode objects greater than FFFF

Mahmoud report at bugs.python.org
Fri Oct 9 11:12:34 CEST 2009

New submission from Mahmoud <saghaei at med.mui.ac.ir>:

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')

with 3.x

correct output must be:

components: Unicode
messages: 93780
nosy: msaghaei
severity: normal
status: open
title: encoding uncode objects greater than FFFF
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list