[issue1410] BaseHTTPServer cannot accept Unicode data

J. Peterson report at bugs.python.org
Fri Nov 9 22:03:23 CET 2007


J. Peterson added the comment:

As implemented it's not even possible to send UTF-8, because the "data =
str(data)" line only accepts seven bit ASCII with the default encoding.
 Since there's no easy way to change the encoding "str()" uses, some
other mechanism should be available to do the encoding (as implied by
the "XXX" comment).

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1410>
__________________________________


More information about the Python-bugs-list mailing list