Commit 93d660f3 authored by Emmy Vouriot's avatar Emmy Vouriot Committed by Jérome Perrin

bytes ti str to read non ascii characters WIP

parent d0704cf0
......@@ -57,6 +57,7 @@ except ImportError:
if six.PY2:
quoted_file_name = quote(file_name.encode('utf-8'))
else:
encoded_file_name = encoded_file_name.decode('us-ascii')
quoted_file_name = quote(file_name)
return '{disposition}; '\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment