I got that error every time i have an url with "special" non ascii  
characters. Is there a quick fix for that out there?

-fred-


500 Internal error

The server encountered an unexpected condition which prevented it  
from fulfilling the request.

Page handler: 'ordinal not in range(128)'
Traceback (most recent call last):
   File "/usr/pkg/lib/python2.4/site-packages/CherryPy-2.2.1- 
py2.4.egg/cherrypy/_cphttptools.py", line 103, in _run
     applyFilters('before_main')
   File "/usr/pkg/lib/python2.4/site-packages/CherryPy-2.2.1- 
py2.4.egg/cherrypy/filters/__init__.py", line 151, in applyFilters
     method()
   File "/usr/pkg/lib/python2.4/site-packages/CherryPy-2.2.1- 
py2.4.egg/cherrypy/filters/decodingfilter.py", line 31, in before_main
     self.decode(enc)
   File "/usr/pkg/lib/python2.4/site-packages/CherryPy-2.2.1- 
py2.4.egg/cherrypy/filters/decodingfilter.py", line 50, in decode
     decodedParams[key] = value.decode(enc)
   File "/usr/pkg/lib/python2.4/encodings/utf_8.py", line 16, in decode
     return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in  
position 14: ordinal not in range(128)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to