When adding these lines into dev.cfg :
decodingFilter.on = True
decodingFilter.encoding = "utf8"
Nothing appends on the catwalk interface when trying to add amitiƩ to a text
filed. And I get these lines in the debug window :
2005/11/29 17:48:56 HTTP INFO 127.0.0.1 - POST /catwalk/update HTTP/1.1
2005/11/29 17:48:56 INFO Traceback (most recent call last):
File
"/.../lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 269, in run
applyFilters('beforeMain')
File
"/.../lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 641, in applyFilters
method()
File
"/.../lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/lib/filter/decodingfilter.py",
line 53, in beforeMain
newValue = value.decode(enc)
File
"/home/lrl/dev/turbogears/lang/python242/lib/python2.4/encodings/utf_8.py",
line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 5:
unexpected end of data
127.0.0.1 - - [2005/11/29 17:48:56] "POST /catwalk/update HTTP/1.1" 500 1530
Any ideas ???