Commit 2b19e717 authored by Emmy Vouriot's avatar Emmy Vouriot Committed by Arnaud Fontaine

bytes ti str to read non ascii characters WIP

parent 6fd91c36
......@@ -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