Benjamin Peterson <benja...@python.org> added the comment: 2010/5/20 STINNER Victor <rep...@bugs.python.org>: > > STINNER Victor <victor.stin...@haypocalc.com> added the comment: > >> You should handle the case of encoding being None. > > detect_encoding() never returns None for the encoding. If there is no cookie, > utf8 is returned by default.
Ah, right. looks ok then ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com