[Python-Dev] urllib.quote and unquote - Unicode issues
Facundo Batista
facundobatista at gmail.com
Wed Jul 30 17:00:02 CEST 2008
2008/7/30 Matt Giuca <matt.giuca at gmail.com>:
> 2. Default to UTF-8.
> In favour: Matt Giuca, Brett Cannon, Jeroen Ruigrok van der Werven
> Pros: Fully working and tested solution is implemented; recommended by
> RFC 3986 for all future schemes; recommended by W3C for use with HTML;
> UTF-8 used by all major browsers; supports all characters; most
> existing code compatible by default; unquote is inverse of quote.
> Cons: By default, URIs may have invalid octet sequences (not possible
> to reverse).
+1, assuming that if you have a different encoding in the URI you can
pass it as a parameter.
Regards,
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-Dev
mailing list