Jeremy Hylton <jer...@alum.mit.edu> added the comment: Ok. Discovered that RFC 2616 says that iso-8859-1 is the default charset, so I will use that to encode strings instead of ascii. If you want utf-8, you could encode the string yourself before calling request(). Presumably, you should also add a content-type that explains the charset. I'll clarified this in the docs.
---------- assignee: -> jhylton _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5314> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com