John Machin <sjmac...@users.sourceforge.net> added the comment:

@lemburg: RFC 2279 was obsoleted by RFC 3629 over 6 years ago. The standard now 
says 21 bits is it. F5-FF are declared to be invalid. I don't understand what 
you mean by "supporting those possibilities". The code is correctly issuing an 
error message. The goal of supporting the new resyncing and FFFD-emitting rules 
might be better met however by throwing away the code in the default clause and 
instead merely setting the entries for F5-FF in the utf8_code_length array to 
zero.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to