Commit fe10f9d5 authored by Emmy Vouriot's avatar Emmy Vouriot Committed by Arnaud Fontaine

bytes ti str to read non ascii characters WIP

parent a28d94c9
......@@ -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