Wiadomość napisana w dniu 2008-09-08, o godz. 08:12, przez Grzegorz  
Szymański

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


Fredrik Lundh has nice and compact introduction for string and unicode  
handling.

http://effbot.org/zone/unicode-objects.htm

-- 
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
[EMAIL PROTECTED]


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