UnicodeEncodeError - opening encoded URLs

D4rko steelide at gmail.com
Fri Mar 27 23:47:22 CET 2009

> (Unless "name" is a unicode object as well.)

Unfortunately it is, it's the argument that is automagically handed to
the handler function by the Django URL dispatcher. I guess I may need
to encode it back to the pure ascii with the "%xx" things, but I can't
find the function that would do it. Any idea?

More information about the Python-list mailing list