Message120703
+ try:
+ with open(filename, 'rb') as fp:
+ encoding, _ = tokenize.detect_encoding(fp.readline)
+ except IOError:
+ encoding = None
You should use 'utf-8' instead of None (which will fall back to the locale encoding) here. |
|
Date |
User |
Action |
Args |
2010-11-08 01:47:17 | vstinner | set | recipients:
+ vstinner, brett.cannon, terry.reedy, belopolsky, eli.bendersky |
2010-11-08 01:47:16 | vstinner | set | messageid: <1289180836.84.0.156023568366.issue10342@psf.upfronthosting.co.za> |
2010-11-08 01:47:13 | vstinner | link | issue10342 messages |
2010-11-08 01:47:12 | vstinner | create | |
|