This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Ringding, belopolsky, dangra, ezio.melotti, lemburg, pitrou, serhiy.storchaka, sjmachin, spatz123, vstinner
Date 2012-05-17.17:36:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Tests fails, but I'm not sure that the tests are correct.

> b'\xe0\x00' raises 'unexpected end of data' and not 'invalid
> continuation byte'. This is terminological issue.

This might be just because it first checks if there two more bytes before checking if they are valid, but 'invalid continuation byte' works too.

> b'\xe0\x80'.decode('utf-8', 'replace') returns one U+FFFD and not
> two. I don't think that is right.

Why not?
Date User Action Args
2012-05-17 17:36:09ezio.melottisetrecipients: + ezio.melotti, lemburg, sjmachin, belopolsky, pitrou, vstinner, Ringding, dangra, spatz123, serhiy.storchaka
2012-05-17 17:36:09ezio.melottisetmessageid: <>
2012-05-17 17:36:08ezio.melottilinkissue8271 messages
2012-05-17 17:36:08ezio.melotticreate