Wiadomość napisana w dniu 2009-08-05, o godz. 13:29, przez alecs:

> The problem happens when django is trying to path.encode('us-
> ascii') ...
> What can be the reason and how to prepare string to be successfully
> processed ?


If path is bytestring, calling .encode() will first try to decode it  
to unicode using default codec, which is ascii.

-- 
Artificial intelligence stands no chance against natural stupidity

Jarek Zgoda, R&D, Redefine
jarek.zg...@redefine.pl


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to