Python 3.0 automatic decoding of UTF16
Johannes Bauer
dfnsonfsduifb at gmx.de
Fri Dec 5 12:28:04 EST 2008
J Kenneth King schrieb:
> It probably means what it says: that the input file contains characters
> it cannot read using the specified encoding.
No, it doesn't. The file is just fine, just as the example.
> Are you generating the file from python using a file object with the
> same encoding? If not, then you might want to look at your input data
> and find a way to deal with the exception.
I did. The file is fine. Could you try out the example?
Regards,
Johannes
--
"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
-- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
<48d8bf1d$0$7510$5402220f at news.sunrise.ch>
More information about the Python-list
mailing list