Stefan> According to a message I found on quixote-users,
Stefan> http://mail.mems-exchange.org/durusmail/quixote-users/5363/ it
Stefan> might have worked prior to 2.4.2.
Confirmed with 2.3.5.
Stefan> if isinstance(s, unicode):
Stefan> s = s.encode('utf-8')
Stefan> as suggested in
Stefan> http://www.w3.org/International/O-URL-code.html
Stefan> and rfc3986.
Seems like the right way to do it to me.
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com