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 <>
> 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.
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: <>
2015-12-27 01:05:15serhiy.storchakalinkissue25937 messages
2015-12-27 01:05:15serhiy.storchakacreate