writing \feff at the begining of a file

Martin v. Loewis martin at v.loewis.de
Sat Aug 14 13:36:45 CEST 2010


> Is there a standard way to autodetect the encoding of a text file? 

Use the chardet module:

http://chardet.feedparser.org/

Regards,
Martin



More information about the Python-list mailing list