How can I make python be more friendly regarding reading and writing Unicode text files?

Posted by bogdan on Stack Overflow See other posts from Stack Overflow or by bogdan
Published on 2010-06-14T14:26:09Z Indexed on 2010/06/14 19:22 UTC
Read the original article Hit count: 129

Filed under:
|

I found that even modern Python versions (like 3.x) are not able to detect BOM on text files. I would like to know if there is any module that could add this missing feature to Python by replacing the open() and codecs.open() functions for reading and writing text files.

© Stack Overflow or respective owner

Related posts about python

Related posts about unicode