[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

STINNER Victor report at bugs.python.org
Sat Jan 17 17:53:34 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Updated patch including a test in _testcapi module: create two 
PyUnicode objects from wide string (PyUnicode_FromWideChar) and 
another from utf-8 (PyUnicode_FromString) and compare the value. Patch 
is still for py3k branch and can be ported easily on python trunk.

Added file: http://bugs.python.org/file12776/unicode_fromwidechar_surrogate-2.patch

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


More information about the Python-bugs-list mailing list