Mark Dickinson <dickinsm at gmail.com> added the comment: > conversion from UTF-32 to UCS-2 here That 'UCS-2' should be 'UTF-16', of course. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4388> _______________________________________