HaveF / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Unicode filename causes UnicodeEncodeError if locale is ASCII #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As reported by Barry Warsaw in a comment attached to issue 323:

Note too that test_unicode_2 fails when sys.getfilesystemencoding() is not 
utf-8.  It can be ANSI_X3.4-1968 (aka ASCII) in the Ubuntu schroot build 
environments.  In that case, the open() call in _open_resource() throws a 
UnicodeEncodeError instead of the expected IOError.

Original issue reported on code.google.com by kurtmckee on 5 Feb 2012 at 12:08

GoogleCodeExporter commented 9 years ago
Fixed in r681.

Original comment by kurtmckee on 9 Feb 2012 at 9:29