how do u ensure that in cheetah?

On Thu, Feb 12, 2009 at 3:36 AM, Alex Ksikes <[email protected]> wrote:

>
> Make sure your templates are encoded in utf-8.
>
> 2009/2/12 paul jobs <[email protected]>:
> > 2009/02/11 23:23:05 [error] 3036#0: *29041895 FastCGI sent in stderr:
> > "Traceback (most recent call last):
> >   File "/home/mark/work/common/flup/server/fcgi_base.py", line 558, in
> run
> >     protocolStatus, appStatus = self.server.handler(self)
> >   File "/home/mark/work/common/flup/server/fcgi_base.py", line 1116, in
> > handler
> >     result = self.application(environ, start_response)
> >   File
> >
> "/usr/lib/python2.5/site-packages/Beaker-1.2-py2.5.egg/beaker/middleware.py",
> > line 160, in __call__
> >     return self.wrap_app(environ, session_start_response)
> >   File "/home/mark/work/common/web/application.py", line 272, in wsgi
> >     self.load(env)
> >   File "/home/mark/work/common/web/application.py", line 368, in load
> >     ctx[k] = safeunicode(v)
> >   File "/home/mark/work/common/web/utils.py", line 231, in safeunicode
> >     return obj.decode(encoding)
> >   File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
> >     return codecs.utf_8_decode(input, errors, True)
> > UnicodeDecodeError: 'utf8' codec can't decode bytes in position 42-44:
> > invalid data" while reading response header from upstream, client:
> > 66.249.67.167, server: teenwag.com, request: "GET
> > /Amazing_Discoveries_-_Der_Geschmacksverst%E4rker HTTP/1.1", upstream:
> > "fastcgi://216.12.13.186:9008", host:
> >
> >
> > Anyone see this error. This started with utf8 in .3
> > can anyone suggest a fix please
> >
> > >
> >
>
> >
>


-- 
http://bidegg.com

BidEgg - Low price Auctions

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to