STINNER Victor <victor.stin...@haypocalc.com> added the comment:

TODO: add more tests

CP_UTF8:

        if self.vista_or_later:
            tests.append(('\udc80', 'strict', None))
            tests.append(('\udc80', 'ignore', b''))
            tests.append(('\udc80', 'replace', b'\xef\xbf\xbd'))
        else:
            tests.append(('\udc80', 'strict', b'\xed\xb2\x80'))

cp1252:

            ('\u0141', 'strict', None),
            ('\u0141', 'ignore', b''),
            ('\u0141', 'replace', b'L'),

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to