[issue32131] Missing encoding parameter in urllib/parse.py

2018-05-29 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> urllib.parse.parse_qsl does not handle unicode data properly ___ Python tracker _

[issue32131] Missing encoding parameter in urllib/parse.py

2017-11-25 Thread Jean-Michel
Jean-Michel added the comment: Sorry, the description was missing. parse.py crashes if provided with unicode data like "voilĂ " : [wsgi:error] [pid 20335] [client 127.0.0.1:44658] UnicodeEncodeError: 'ascii' codec can't encode character '\\xe0' in position 314: ordinal not in range(128) The "

[issue32131] Missing encoding parameter in urllib/parse.py

2017-11-25 Thread Jean-Michel
New submission from Jean-Michel : Here is the patch, working for me in Python 3.4.2 610,611c703 < #~ value = _coerce_result(value) < value = _coerce_result(value,encoding=encoding) --- > value = _coerce_result(value) -- messages: 306953 nosy: jmbc prio