On Sat, Feb 15, 2014 at 09:37:18AM -0800, Daniel Schepler wrote: > ====================================================================== > ERROR: test_shared_data_middleware (werkzeug.testsuite.wsgi.WSGIUtilsTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/tmp/buildd/python-werkzeug-0.9.4+dfsg/werkzeug/testsuite/wsgi.py", > line 47, in test_shared_data_middleware > app_iter, status, headers = run_wsgi_app(app, create_environ(p)) > File "/tmp/buildd/python-werkzeug-0.9.4+dfsg/werkzeug/test.py", line 854, > in run_wsgi_app > app_iter = app(environ, start_response) > File "/tmp/buildd/python-werkzeug-0.9.4+dfsg/werkzeug/wsgi.py", line 558, > in __call__ > cleaned_path = cleaned_path.encode(sys.getfilesystemencoding()) > UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: > ordinal not in range(128) Here cleaned_path == '/foo/äöü' and sys.getfilesystemencoding() in the C locale returns 'ANSI_X3.4-1968'. Tests work in C.UTF-8 or other locales.
-- WBR, wRAR
signature.asc
Description: Digital signature