This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ocean-city, vstinner
Date 2010-09-11.05:56:39
SpamBayes Score 1.1831048e-05
Marked as misclassified No
Message-id <1284184600.44.0.842772419991.issue9819@psf.upfronthosting.co.za>
In-reply-to
Content
> How about TESTFN_UNICODE (test_unicode_file) issue?

  File "e:\python-dev\py3k\lib\test\test_unicode_file.py", line 12, in <module>
    TESTFN_UNICODE.encode(TESTFN_ENCODING)
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character

That's because mbcs encoding is more strict on Windows. But this test is not needed on Windows. Please try attached patch (unicode_file.patch).
History
Date User Action Args
2010-09-11 05:56:40vstinnersetrecipients: + vstinner, ocean-city
2010-09-11 05:56:40vstinnersetmessageid: <1284184600.44.0.842772419991.issue9819@psf.upfronthosting.co.za>
2010-09-11 05:56:39vstinnerlinkissue9819 messages
2010-09-11 05:56:39vstinnercreate