On Wednesday 03 of September 2008 22:50:53 Malcolm Tredinnick wrote:
> 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).
 
Thanks for tip.

I assume there is quite a bit difference between UTF-8 bytestings and unicode 
strings. Where I can read about those differencies?

Regards,
Grzegorz

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


-- 
Grzegorz Szymański | mailto:[EMAIL PROTECTED] | pgp:0x14A27314
jabber ID: [EMAIL PROTECTED]

----------------------------------------------------------------------
Nie zwlekaj! Tapetuj z nami!
Sprawdz >>  http://link.interia.pl/f1f01


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