well... with python2 it would not decode line at all, not just ignore those invalid characters...   btw -- I wondered why in d23d365be2b2027ab745e2222d3ae48550256339 you added decoding with 'ignore' only for python3 and not also for python2 (seems to be available there too)? ;-)