Python 3.0 automatic decoding of UTF16

Richard Brodie R.Brodie at rl.ac.uk
Fri Dec 5 12:38:25 EST 2008


"J Kenneth King" <james at agentultra.com> wrote in message 
news:85fxl24lbu.fsf at dozer.localdomain...

> It probably means what it says: that the input file contains characters
> it cannot read using the specified encoding.

That was my first thought. However it appears that there is an off by one
error somewhere in the intersection of line ending/codec processing.
Half way through the codec starts byte-flipping characters. 





More information about the Python-list mailing list