Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems updating a feed description with non-ASCII characters #77

Open
fazalmajid opened this issue Apr 17, 2013 · 0 comments
Open

Problems updating a feed description with non-ASCII characters #77

fazalmajid opened this issue Apr 17, 2013 · 0 comments
Assignees

Comments

@fazalmajid
Copy link
Owner

The result is an empty page and a traceback in the log:

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: invalid data
Traceback (most recent call last):
File "/usr/local/lib/python2.5/SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.5/SocketServer.py", line 522, in init
self.handle()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/home/majid/temboz/server.py", line 214, in do_POST
self.process_post_info()
File "/home/majid/temboz/server.py", line 208, in process_post_info
query_list = [(n, v.decode('UTF-8')) for n, v in cgi.parse_qsl(istr, 1)]
File "/usr/local/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)

@ghost ghost assigned fazalmajid Apr 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant