[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

Antoine Pitrou report at bugs.python.org
Wed Jun 9 13:27:09 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Also witnessed on 2.x (UCS-2 build):

>>> unicode(b'\x00\x01\x00\x00', 'utf-32be')
u'\ud800\u0773'
>>> unicode(b'\x00\x00\x01\x00', 'utf-32le')
u'\U00010000'

----------
nosy: +haypo, lemburg, pitrou
priority: normal -> high
title: utf-32be codec failing on 16-bit python build for 32-bit value -> utf-32be codec failing on UCS-2 python build for 32-bit value
versions: +Python 2.6, Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8941>
_______________________________________


More information about the Python-bugs-list mailing list