urllib.quote and unicode

Martin v. Löwis martin at v.loewis.de
Fri Dec 6 02:36:30 EST 2002


Tim Roberts <timr at probo.com> writes:

> urllib.quote was designed for encoding URLs.  URLs have to be ISO-8859-1,
> so they cannot include Unicode characters.

I believe URLs are just bytes, with no character set implied.

Regards,
Martin



More information about the Python-list mailing list