[Python-Dev] Python 3.0.1 (io-in-c) (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 28 19:29:07 CET 2009


Thanks for the explanation. It might be clearer to document this a little more explicitly in the docs for open() (on the basis that people using open() are the most likely to be naive about encodings). I'll see if I can come up with an appropriate doc patch.

Notice that the determination of the specific encoding used is fairly elaborate:

Regards, Martin



More information about the Python-Dev mailing list