On Tue, May 20, 2008 at 12:44 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm parsing a URI manually, and trying to extract the GET params.
>
> What does django use to un-escape the params? Yah know to go from %20
> to " " in unicode?
>
> Thanks,
> Ivan
> tipjoy.com
> >
>
I'm not sure if this is how django does it, but I would use
urllib.unquote(params).  If you give it unicode, it returns unicode.

    Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to