On Wed, 2008-09-03 at 13:00 +0200, Grzegorz Szymański wrote:
> On Wednesday 03 of September 2008 09:19:37 babatu wrote:
> > How to encode the url ??make the non-English looks like %CD%E2%C6%C5%BC
> > %D2
> 
> http://docs.python.org/lib/module-urllib.html
> quote, unquote

Neither of which work with unicode strings in standard Python (they do
work with UTF-8 bytestrings, however).

That's why django.utils.http.quote and django.utils.http.unquote exist.
The Django versions are unicode-capable.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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