Thanks Olli for pointing this out - however - it doesn't resolve my
errors!
Please check this out: i'm working on really boiling down the problem,
consider the following:
@expose()
def showme(self, pagename='ÄhhPage'):
raise turbogears.redirect('/%s' % pagename)
Rather simple, isn't it? But see: When I enter 'localhost:8080/showme'
into the adress field of my browser i get redirectet to the desired
page 'ÄhhPage'. Perfect.
When i enter 'localhost:8080/showme?pagename=ÄhhPage' i get
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 "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
line 120, in _run
cherrypy.response.finalize()
File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
line 408, in finalize
self.header_list = self.headers.sorted_list()
File "/var/lib/python-support/python2.4/cherrypy/lib/httptools.py",
line 468, in sorted_list
header_list.append((order, (key, str(value))))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in
position 22: ordinal not in range(128)
There's something going on I don't quite catch! Clearly
'localhost:8080/showme?pagename=SomePage' works as supposed (simply
redirecting) when 'SomePage' is without ö,ü, ... and so on.
Any suggestions?
Chris
PS: Those /var/lib/... are just symbolic links to /usr/share/...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---