Message 174842 - Python tracker
> @unittest.skipIf(sys.platform.startswith('freebsd') and
> sys.getfilesystemencoding() == 'ascii',
> 'skip on FreeBSD with ASCII filesystem encoding')
Such skip is not a good idea. Many OS uses the Latin1 encoding when the C locale is used (even if ASCII encoding is announced :-/): Solaris, FreeBSD, Mac OS X, etc.
pythonrun_filename_decoding_test_2.patch: 'surrogateescape' error handler is not used on Windows (and must not be used), whereas the initial issue was reported on Windows.