This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib.urlencode() does not explain how to handle unicode
Type: Stage: resolved
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Thomas Güttler, docs@python, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-02-25 09:48 by Thomas Güttler, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg260845 - (view) Author: Thomas Güttler (Thomas Güttler) * Date: 2016-02-25 09:48
The current docs for Python2, don't explain how to handle unicode:

https://docs.python.org/2/library/urllib.html#urllib.urlencode

It seems to be a common problem. See http://stackoverflow.com/questions/6480723/urllib-urlencode-doesnt-like-unicode-values-how-about-this-workaround

It would be nice to document the most pythonic way to handle unicode in urllib.urlencode()
msg370443 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-05-31 13:23
Python 2.7 is no longer supported.
History
Date User Action Args
2022-04-11 14:58:27adminsetgithub: 70620
2020-05-31 13:23:20serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg370443

resolution: out of date
stage: resolved
2016-02-25 09:48:39Thomas Güttlercreate