Re: urllib.urlencode wrongly encoding ± character

Evren Esat Ozkan sleytr at gmail.com
Fri Apr 7 07:24:26 EDT 2006


I copied and pasted my code to new file and saved with utf-8 encoding.
it produced 00090%C2%B1NO%3A%C2%B1H%C2%B1H%C2%B1H%C2%B1H%C2%B1
Than I added "u" to decleration and encode it with iso-8859-1 as you
wrote and finally it produced proper result.

Your reply is so helped and clarify some things about unicode string
usage on Python. 
Thank you very much!




More information about the Python-list mailing list