Message106202
> The correct fix is to use tokenize.detect_encoding,
> if anyone wants to provide a patch.
done :-) Attached patch opens the file in binary mode to call
tokenize.detect_encoding() and then use the encoding to open the file a second time (in text (unicode) mode). |
|
Date |
User |
Action |
Args |
2010-05-20 22:33:20 | vstinner | set | recipients:
+ vstinner, tim.peters, benjamin.peterson, eric.araujo, meatballhat, ysj.ray |
2010-05-20 22:33:20 | vstinner | set | messageid: <1274394800.04.0.844742626047.issue8774@psf.upfronthosting.co.za> |
2010-05-20 22:33:16 | vstinner | link | issue8774 messages |
2010-05-20 22:33:16 | vstinner | create | |
|