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.

Author vstinner
Recipients ajaksu2, collinwinter, nagle, vak, varmaa, vstinner
Date 2009-02-12.22:14:02
SpamBayes Score 2.084156e-05
Marked as misclassified No
Message-id <1234476843.96.0.936279088185.issue1712522@psf.upfronthosting.co.za>
In-reply-to
Content
quote() works in Python3 with any bytes string (not only ASCII) and 
any unicode string:

Python 3.1a0 (py3k:69105M, Feb  3 2009, 15:04:35)
>>> from urllib.parse import quote
>>> quote('é')
'%C3%A9'
>>> quote('\xe9')
'%C3%A9'
>>> quote('\xe9'.encode('utf-8'))
'%C3%A9'
>>> quote('\xe9'.encode('latin-1'))
'%E9'
History
Date User Action Args
2009-02-12 22:14:04vstinnersetrecipients: + vstinner, collinwinter, varmaa, nagle, ajaksu2, vak
2009-02-12 22:14:03vstinnersetmessageid: <1234476843.96.0.936279088185.issue1712522@psf.upfronthosting.co.za>
2009-02-12 22:14:02vstinnerlinkissue1712522 messages
2009-02-12 22:14:02vstinnercreate