[issue7651] Python3: guess text file charset using the BOM
Walter Dörwald
report at bugs.python.org
Sat Jan 9 11:45:57 CET 2010
Walter Dörwald <walter at livinglogic.de> added the comment:
IMHO this is the wrong approach.
As Martin v. Löwis suggested here http://mail.python.org/pipermail/python-dev/2010-January/094841.html the best solution would be a new codec (which he named sniff), that autodetects the encoding on reading. This doesn't require *any* changes to the IO library. It could even be developed as a standalone project and published in the Cheeseshop.
----------
nosy: +doerwalter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7651>
_______________________________________
More information about the Python-bugs-list
mailing list