List Info

Thread: unocde error with cherrypy




unocde error with cherrypy
user name
2006-03-30 10:53:15
I have a Restr string which I'm converting to HTML throguh
docstring:
I'm getting the following error from cherrypy:

30/Mar/2006:05:47:31  INFO Page handler: 'ordinal not in
range(128)'
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0rc1-py
2.4.egg/cherrypy/_cpwsgi.py",
line 96, in wsgiApp
    chunk = str(chunk)
UnicodeEncodeError: 'ascii' codec can't encode character
u'\x92' in
position 15625: ordinal not in range(128)

When I googled for u'\x92' it turns out to be a LEFT
SINGLE QUOTATION
MARK. Is there a work around somewhere?

Thanks,

VJ


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )