New submission from cober J <jiaqi...@gmail.com>: Try to use http to send multi-byte utf8 data.
File "E:\DEVELOP\python\lib\http\client.py", line 904, in _send_request self.endheaders(body.encode('ascii')) UnicodeEncodeError: 'ascii' codec can't encode character '\u7231' in position 119: ordinal not in range(128) I modified the lib/http/client.py document, and fix this problem. ---------- components: Library (Lib) files: client.py messages: 82465 nosy: cober severity: normal status: open title: http client error type: compile error versions: Python 3.1 Added file: http://bugs.python.org/file13136/client.py _______________________________________ 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