additional information:
I just checked the default encoding

>>> import sys
>>> sys.getdefaultencoding()
'ascii'

should that be something different (like utf-8)?
btw: all our data (database) and scripts are encoded with utf-8.

thanks,
patrick

On 28 Aug., 08:21, patrickk <[EMAIL PROTECTED]> wrote:
> I´m sorry for bothering again, but our site has to be online soon and I
> ´m currently not able to use the cache_page decorator (which makes me
> a bit nervous).
> I did some research on smart_str, but I don´t know how and where to
> use it and I also don´t see why this should solve the problem.
>
> any feedback is highly appreciated.
> btw: I´m able to use the low-level cache.
>
> thanks,
> patrick
>
> On 27 Aug., 16:52, patrickk <[EMAIL PROTECTED]> wrote:
>
> > so you say I should use __str__ instead of __unicode__, right?
> > according to the django-docs, that´s not recommended though ...
>
> > On 27 Aug., 16:40, Iapain <[EMAIL PROTECTED]> wrote:
>
> > > > UnicodeDecodeError at /spezialprogramme/
> > > > 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in
> > > > range(128)
>
> > > try using smart_str, it it doesnt work then use less restrictive decode


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