Author serhiy.storchaka
Recipients doerwalter, lemburg, serhiy.storchaka, terry.reedy, vstinner, 王杰
Date 2015-12-27.01:05:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451178315.58.0.0417010168097.issue25937@psf.upfronthosting.co.za>
In-reply-to
Content
> I wonder why this does not trigger the exception.

Because in case of utf-8 and iso-8859-1 decoding and encoding steps are omitted.

In general case the input is decoded from specified encoding and than encoded to UTF-8 for parser. But for utf-8 and iso-8859-1 encodings the parser gets the raw data.
History
Date User Action Args
2015-12-27 01:05:15serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, doerwalter, terry.reedy, vstinner, 王杰
2015-12-27 01:05:15serhiy.storchakasetmessageid: <1451178315.58.0.0417010168097.issue25937@psf.upfronthosting.co.za>
2015-12-27 01:05:15serhiy.storchakalinkissue25937 messages
2015-12-27 01:05:15serhiy.storchakacreate